@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-vietnamese.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-600.woff2') format('woff2');
}

/* ===== Token: màu, chữ, khoảng cách, chuyển động ===== */
:root {
  --bg: #0c0e11;
  --bg2: #13161b;
  --bg3: #1a1e25;
  --line: #262b33;
  --line-strong: #3a414c;
  --ink: #ece9e4;
  --ink-soft: rgb(236 234 228 / 80%);
  --mute: #9a9c9f;
  --ice: #9cc4ee;
  --ice-wash: rgb(156 196 238 / 12%);
  --ice-ring: rgb(156 196 238 / 20%);
  --amber: #d49a6a;
  --err: #e0605a;
  --err-ink: #f08a84;
  --err-ring: rgb(224 96 90 / 14%);
  --scrim: rgb(12 14 17 / 80%);
  --shadow: rgb(0 0 0 / 55%);

  --font-d: 'Archivo', system-ui, sans-serif;
  --font-b: 'Be Vietnam Pro', system-ui, sans-serif;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --s9: 112px;
  --r: 6px;
  --r-pill: 999px;
  --gutter: 40px;
  --nav-h: 72px;
  --touch: 44px;

  --dur-fast: 160ms;
  --dur: 300ms;
  --dur-slow: 520ms;
  --stagger: 50ms;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --offset: var(--viewer-offset, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--bg);
  scrollbar-width: thin;
}
html.locked {
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-b);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  animation: focus-in var(--dur-fast) var(--ease);
}
@keyframes focus-in {
  from {
    outline-color: transparent;
    outline-offset: 8px;
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: var(--s4);
  top: calc(var(--offset) + var(--s2));
  z-index: 100;
  padding: var(--s2) var(--s4);
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.lbl {
  display: block;
  font: 700 11px/1 var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.d {
  font-family: var(--font-d);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.note {
  font-size: 12px;
  color: var(--mute);
}

/* ===== Nút ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 46px;
  padding: 0 var(--s5);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast),
    border-color var(--dur-fast),
    opacity var(--dur-fast);
}
.btn-solid {
  background: var(--ink);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgb(236 234 228 / 33%);
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
@media (hover: hover) {
  .btn-solid:hover:not([disabled]) {
    background: #fff;
    transform: translateY(-2px);
  }
  .btn-ghost:hover:not([disabled]) {
    border-color: var(--ink);
    background: rgb(255 255 255 / 5%);
  }
}

/* ===== Thanh trên ===== */
.top {
  position: fixed;
  inset: var(--offset) 0 auto 0;
  z-index: 30;
  height: var(--nav-h);
  background: linear-gradient(var(--scrim), transparent);
  transition: background-color var(--dur);
}
.top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  border-bottom: 1px solid var(--line);
  transition: opacity var(--dur);
}
.top.solid::before {
  opacity: 0.94;
}
.top-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  padding: 0 var(--gutter);
}
.logo {
  margin-right: auto;
  font: 800 17px var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo i {
  font-style: normal;
  color: var(--mute);
  font-weight: 500;
}
.mainnav a {
  position: relative;
  padding: var(--s2) 0;
  margin-left: 36px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--dur-fast);
}
.mainnav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.mainnav a.on {
  color: #fff;
}
.mainnav a.on::after {
  transform: scaleX(1);
}
@media (hover: hover) {
  .mainnav a:hover {
    color: #fff;
  }
  .mainnav a:hover::after {
    transform: scaleX(1);
  }
}
.top-cta {
  min-height: 40px;
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
}
.burger {
  display: none;
  position: relative;
  width: var(--touch);
  height: var(--touch);
  border: 1px solid rgb(236 234 228 / 33%);
  border-radius: 50%;
  background: none;
  transition: transform var(--dur-fast) var(--ease);
}
.burger:active {
  transform: scale(0.94);
}
.burger span,
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur-fast);
}
.burger::before {
  top: 16px;
}
.burger span {
  top: 21px;
}
.burger::after {
  top: 26px;
}
.burger[aria-expanded='true']::before {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded='true']::after {
  transform: translateY(-5px) rotate(-45deg);
}
.burger[aria-expanded='true'] span {
  opacity: 0;
}

/* Menu phủ màn hình (điện thoại) */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  padding: calc(var(--offset) + var(--nav-h)) var(--s4)
    calc(var(--s5) + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    visibility 0s var(--dur);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.sheet-in {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.sheet-in > a:not(.btn) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
  font: 800 30px var(--font-d);
  font-stretch: 125%;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.sheet.open .sheet-in > a:not(.btn) {
  opacity: 1;
  transform: none;
}
.sheet.open .sheet-in > a:nth-child(2) {
  transition-delay: var(--stagger);
}
.sheet.open .sheet-in > a:nth-child(3) {
  transition-delay: calc(var(--stagger) * 2);
}
.sheet-in > a span {
  font: 500 12px var(--font-d);
  color: var(--ice);
}
.sheet-foot {
  margin-top: auto;
  padding-top: var(--s6);
}
.sheet-foot .btn {
  width: 100%;
  min-height: 52px;
}
.sheet-foot p {
  margin-top: var(--s4);
  font-size: 12px;
  color: var(--mute);
}

/* ===== Hiện dần khi cuộn ===== */
.js .rv:not(.in) {
  opacity: 0;
  transform: translateY(24px);
}
.rv.in {
  animation: rv-in var(--dur-slow) var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * var(--stagger));
}
@keyframes rv-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: max(720px, calc(100svh - var(--offset)));
  max-height: 980px;
  overflow: hidden;
  background: var(--bg);
}
.stage {
  position: absolute;
  inset: 0 0 -12% 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  will-change: transform;
}
.sl {
  --clip: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  position: relative;
  overflow: hidden;
  margin-left: -3.2%;
  clip-path: var(--clip);
  animation: cut-in 900ms var(--ease) backwards;
  animation-delay: calc(var(--s) * 110ms);
}
.sl:first-child {
  --clip: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  margin-left: 0;
}
.sl:last-child {
  --clip: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}
@keyframes cut-in {
  from {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  }
}
.sl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease);
}
.sl:first-child img {
  opacity: 0.85;
  animation: kenburns 14s ease-out both;
}
.sl img.out {
  opacity: 0;
  animation: none;
}
@keyframes kenburns {
  from {
    transform: scale(1.08);
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(12 14 17 / 60%) 0,
    rgb(12 14 17 / 0%) 30%,
    var(--bg) 100%
  );
  pointer-events: none;
}
.cap {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 42px;
}
.hero-title {
  font: 800 clamp(52px, 10.2vw, 168px) / 0.88 var(--font-d);
  font-stretch: 125%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: var(--s3) 0 28px;
}
.t-line {
  display: block;
}
.t-line.o {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.hero-title .ch {
  display: inline-block;
}
.hero-title.run .ch {
  animation: char-in 700ms var(--ease) backwards;
  animation-delay: calc(var(--c) * 28ms);
}
@keyframes char-in {
  from {
    opacity: 0;
    transform: translateY(0.4em);
  }
}
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s7);
  flex-wrap: wrap;
  border-top: 1px solid rgb(236 234 228 / 20%);
  padding-top: var(--s5);
}
.metrics {
  display: flex;
  gap: 56px;
}
.metric b {
  display: block;
  font: 800 40px/1 var(--font-d);
  font-stretch: 125%;
}
.metric b small {
  margin-left: var(--s1);
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
}
.metric .lbl {
  margin-top: var(--s2);
}
.hero-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}
.dots {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
  transform: translateY(-50%);
}
.tick {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: 52px;
  border: 0;
  background: none;
}
.tick i {
  display: block;
  width: 2px;
  height: 28px;
  background: rgb(236 234 228 / 27%);
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur);
}
.tick.on i {
  background: var(--ice);
  transform: scaleY(1.6);
}
@media (hover: hover) {
  .tick:hover i {
    background: var(--ink);
  }
}
.pause {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  margin-top: var(--s2);
  border: 1px solid rgb(236 234 228 / 33%);
  border-radius: 50%;
  background: none;
  transition: transform var(--dur-fast) var(--ease);
}
.pause:active {
  transform: scale(0.92);
}
.pause i {
  width: 10px;
  height: 12px;
  border-inline: 3px solid var(--ink);
}
.hero[data-paused='true'] .pause i {
  width: 0;
  height: 0;
  border: 0;
  border-left: 10px solid var(--ink);
  border-block: 6px solid transparent;
}

/* ===== Section chung ===== */
.sec {
  padding: var(--s9) 0 0;
  scroll-margin-top: calc(var(--offset) + var(--nav-h));
}
.sh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s5);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}
.sh h2,
.td h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 0.95;
  margin: var(--s3) 0 var(--s4);
}
.sh h2 {
  margin-bottom: 0;
}
.sh-note {
  max-width: 34ch;
  font-size: 13px;
  color: var(--mute);
}

/* ===== Thanh lọc ===== */
.fbar {
  position: sticky;
  top: calc(var(--offset) + var(--nav-h));
  z-index: 20;
  background: rgb(12 14 17 / 93%);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.fbar-in {
  display: flex;
  align-items: center;
  gap: var(--s5);
  height: 68px;
}
.tabs {
  position: relative;
  display: flex;
  gap: var(--s1);
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  height: 68px;
  padding: 0 18px;
  background: none;
  border: 0;
  color: var(--mute);
  font: 700 12px var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color var(--dur-fast),
    transform var(--dur-fast) var(--ease);
}
.tab:active {
  transform: scale(0.96);
}
.tab[aria-pressed='true'] {
  color: var(--ink);
}
.tab sup {
  margin-left: 5px;
  font: 500 10px var(--font-d);
  color: var(--mute);
}
@media (hover: hover) {
  .tab:hover {
    color: var(--ink);
  }
}
.ind {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 2px;
  background: var(--ice);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  pointer-events: none;
}
.count {
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
}
.count b {
  color: var(--ink);
}

/* ===== Dropdown tự vẽ ===== */
.dd {
  position: relative;
}
.dd-label {
  display: block;
  margin-bottom: var(--s2);
  font: 700 11px/1 var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.dd-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s4);
  border: 1px solid var(--line);
  background: var(--bg2);
  border-radius: var(--r);
  font-size: 14px;
  text-align: left;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    transform var(--dur-fast) var(--ease);
}
.dd-inline .dd-btn {
  min-height: 42px;
  min-width: 188px;
}
.dd-btn em {
  font: 700 11px var(--font-d);
  font-stretch: 125%;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.dd-btn::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border: solid var(--mute);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.dd.open .dd-btn::after {
  transform: rotate(-135deg);
}
.dd-btn:active {
  transform: scale(0.99);
}
.dd.open .dd-btn,
.dd-btn:focus-visible {
  border-color: var(--ice);
}
.dd[data-invalid] .dd-btn {
  border-color: var(--err);
  box-shadow: 0 0 0 3px var(--err-ring);
}
@media (hover: hover) {
  .dd-btn:hover {
    border-color: var(--ice);
  }
}
.dd-list {
  position: absolute;
  z-index: 25;
  top: calc(100% + var(--s2));
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 320px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding: 6px;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 20px 40px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-fast),
    transform var(--dur) var(--ease),
    visibility 0s var(--dur);
}
.dd-inline .dd-list {
  left: auto;
  right: 0;
  width: 232px;
}
.dd.open .dd-list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.dd-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  min-height: var(--touch);
  padding: 0 var(--s3);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background-color var(--dur-fast);
}
.dd-list li:focus {
  outline: 0;
  background: rgb(255 255 255 / 9%);
  box-shadow: inset 0 0 0 1px var(--ice);
}
.dd-list li:active {
  background: rgb(255 255 255 / 14%);
}
.dd-list li[aria-selected='true'] {
  color: var(--ice);
}
.dd-list li[aria-selected='true']::after {
  content: '';
  flex: none;
  width: 10px;
  height: 5px;
  border: solid var(--ice);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-2px);
}
@media (hover: hover) {
  .dd-list li:hover {
    background: rgb(255 255 255 / 7%);
    color: #fff;
  }
}

/* ===== Lưới xe (bento) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: 28px;
  min-height: 320px;
}
.card {
  grid-column: span var(--span, 2);
  min-width: 0;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur);
}
.card-in {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform 140ms ease-out,
    border-color var(--dur);
}
.card.w .card-in {
  flex-direction: row;
}
.card.w .ph {
  flex: 1.1;
  aspect-ratio: auto;
  min-height: 340px;
}
.card.w .bd {
  flex: 1;
  min-width: 0;
  padding: 28px;
}
.card.w h3 {
  font-size: 30px;
}
.card:focus-within .card-in,
.card.picked .card-in {
  border-color: var(--ice);
}
.card:active .card-in {
  border-color: var(--ink);
}
.card-in::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    260px circle at var(--gx, 70%) var(--gy, 25%),
    rgb(255 255 255 / 11%),
    transparent 60%
  );
  transition: opacity var(--dur);
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
  }
  .card:hover .card-in {
    border-color: var(--tint);
  }
  .card:hover .card-in::before {
    opacity: 1;
  }
  .card:hover .ph img {
    transform: scale(1.05);
  }
}
.ph {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg3);
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg3), #222730, var(--bg3));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  opacity: 1;
  transition: opacity var(--dur);
}
.ph.loaded::before {
  opacity: 0;
  animation: none;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.ph img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity var(--dur-slow) var(--ease),
    transform 800ms var(--ease);
}
.ph.loaded img {
  opacity: 1;
}
.ph.broken::after {
  content: 'Không tải được ảnh';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--mute);
}
.tag {
  position: absolute;
  left: var(--s4);
  top: var(--s4);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--scrim);
  font: 700 10px var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint);
}
.bd {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s4);
  padding: 20px 22px 22px;
}
.bd h3 {
  font-size: 24px;
  line-height: 1.05;
}
.stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.sub {
  margin-top: var(--s1);
  font-size: 13px;
  color: var(--mute);
}
.sp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: var(--s3) 0;
  border-block: 1px solid var(--line);
}
.sp li {
  min-width: 0;
}
.sp li + li {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.sp b {
  display: block;
  font: 700 16px/1.1 var(--font-d);
  font-stretch: 112%;
  white-space: nowrap;
}
.sp small {
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
}
.cfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: auto;
}
.price {
  font: 800 22px var(--font-d);
  font-stretch: 125%;
}
.price small {
  display: block;
  font: 400 11px var(--font-b);
  color: var(--mute);
}
.cmp {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--touch);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 13px;
  transition:
    border-color var(--dur-fast),
    background-color var(--dur-fast),
    color var(--dur-fast),
    transform var(--dur-fast) var(--ease);
}
.cmp::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--mute);
  border-radius: 3px;
  transition:
    background-color var(--dur-fast),
    border-color var(--dur-fast);
}
.cmp:active {
  transform: scale(0.96);
}
.cmp[aria-pressed='true'] {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--bg);
  font-weight: 600;
}
.cmp[aria-pressed='true']::before {
  border-color: var(--bg);
  background: var(--bg);
  box-shadow: inset 0 0 0 2.5px var(--ice);
}
.cmp.full {
  animation: shake var(--dur) ease-in-out;
}
@media (hover: hover) {
  .cmp:hover {
    border-color: var(--ink);
  }
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: var(--s6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  animation: rv-in var(--dur-slow) var(--ease) backwards;
}
.ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 800 22px var(--font-d);
}
.empty h3 {
  font: 700 18px var(--font-d);
  font-stretch: 112%;
}
.empty p {
  margin: var(--s1) 0 var(--s3);
  font-size: 14px;
  color: var(--mute);
}

/* ===== Thanh so sánh và thông báo ===== */
.dock {
  position: fixed;
  left: var(--s4);
  right: var(--s4);
  bottom: calc(var(--s4) + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur),
    transform var(--dur) var(--ease);
}
.dock.show {
  opacity: 1;
  transform: none;
}
.dock-in {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 820px;
  padding: var(--s3) var(--s3) var(--s3) var(--s4);
  background: var(--bg3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 40px var(--shadow);
}
.dock-chips {
  display: flex;
  gap: var(--s2);
  margin-right: auto;
  align-items: center;
  min-width: 0;
}
.chip-car {
  display: flex;
  align-items: center;
  gap: var(--s2);
  height: 34px;
  padding: 0 6px 0 4px;
  background: var(--bg);
  border-radius: var(--r-pill);
  font-size: 13px;
  white-space: nowrap;
  animation: chip-in var(--dur) var(--ease) backwards;
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}
.chip-car img {
  width: 34px;
  height: 26px;
  border-radius: var(--r-pill);
  object-fit: cover;
}
.chip-car button {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  line-height: 1;
  transition: background-color var(--dur-fast);
}
.chip-car button::after {
  content: '';
  position: absolute;
  inset: -11px;
}
@media (hover: hover) {
  .chip-car button:hover {
    background: var(--err);
  }
}
.chip-slot {
  padding: 0 14px;
  border: 1px dashed var(--line-strong);
  background: none;
  color: var(--mute);
}
.dock-note {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}
.dock .btn {
  min-height: 42px;
}
body.has-dock footer {
  padding-bottom: 120px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: var(--s3) var(--s5);
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition:
    opacity var(--dur),
    transform var(--dur) var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== Lớp phủ: ảnh lớn, bảng so sánh ===== */
.ov {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: var(--s7) var(--s4);
  background: rgb(8 9 11 / 94%);
  opacity: 0;
  transition: opacity var(--dur);
}
.ov.show {
  opacity: 1;
}
.ov-x {
  position: absolute;
  top: calc(var(--offset) + var(--s4));
  right: var(--s4);
  width: var(--touch);
  height: var(--touch);
  border: 1px solid rgb(236 234 228 / 33%);
  border-radius: 50%;
  background: none;
  font-size: 24px;
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease);
}
.ov-x:active {
  transform: scale(0.92);
}
.lb-img {
  max-width: 94vw;
  max-height: 86vh;
  border-radius: var(--r);
}
.cmp-box {
  width: min(1000px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transform: translateY(16px);
  transition: transform var(--dur-slow) var(--ease);
}
.ov.show .cmp-box {
  transform: none;
}
.cmp-head {
  padding: var(--s5) var(--s5) var(--s3);
}
.cmp-head h2 {
  font: 800 28px var(--font-d);
  font-stretch: 125%;
  text-transform: uppercase;
}
.cmp-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding: 0 var(--s5) var(--s5);
}
.cmp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.cmp-table th,
.cmp-table td {
  padding: var(--s3) var(--s3);
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.cmp-table thead th,
.cmp-table thead td {
  border-top: 0;
}
.cmp-table tbody th {
  width: 24%;
  font-weight: 500;
  color: var(--mute);
}
.cmp-table thead img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r);
  animation: rv-in var(--dur-slow) var(--ease) backwards;
}
.cn {
  display: block;
  margin: var(--s2) 0 var(--s1);
  font: 700 15px var(--font-d);
  font-stretch: 112%;
}
.rm {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  font-size: 12px;
  text-decoration: underline;
}
.rm:hover {
  color: var(--err-ink);
}
.cmp-table td.best {
  color: var(--ice);
  font-weight: 600;
  background: var(--ice-wash);
}

/* ===== Trả góp ===== */
.fin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.fin-sk {
  position: sticky;
  top: calc(var(--offset) + var(--nav-h) + var(--s4));
}
.fin-ph {
  border-radius: var(--r) 0 0 0;
  aspect-ratio: 4 / 3;
}
.fin-ph img.swap {
  opacity: 0;
}
.fin-tx {
  padding: 28px 36px 36px;
}
.fin-tx h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 0.95;
}
.fin-tx p {
  max-width: 44ch;
  font-size: 15px;
  color: var(--mute);
}
.fin-r {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 36px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.big {
  margin-top: var(--s2);
  font: 800 clamp(48px, 6vw, 88px) / 0.95 var(--font-d);
  font-stretch: 125%;
}
.big small {
  margin-left: var(--s2);
  font-size: 0.28em;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0;
  text-transform: none;
}
.bar {
  position: relative;
  height: 10px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--ice);
}
.bar-b {
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform-origin: right;
  transition: transform var(--dur-slow) var(--ease);
}
.leg {
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 13px;
  color: var(--mute);
}
.leg li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: var(--s2);
  border-radius: 50%;
  background: var(--ice);
}
.leg li.b::before {
  background: var(--amber);
}
.leg b {
  color: var(--ink);
  font-weight: 600;
}
.rng label,
.rng .lbl {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--s3);
  font-size: 14px;
}
.rng .lbl {
  display: block;
}
.rng output {
  font: 700 15px var(--font-d);
  font-stretch: 112%;
}
.scale {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s2);
  font-size: 11px;
  color: var(--mute);
}
input[type='range'] {
  appearance: none;
  display: block;
  width: 100%;
  height: var(--touch);
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--ice) var(--p, 0%), var(--line) var(--p, 0%));
}
input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--ice) var(--p, 0%), var(--line) var(--p, 0%));
}
input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--ice-ring);
  transition:
    box-shadow var(--dur-fast),
    transform var(--dur-fast) var(--ease);
}
input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--ice-ring);
}
input[type='range']:active::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow: 0 0 0 10px var(--ice-ring);
}
.seg-row,
.chips {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}
.seg-row button,
.chip {
  min-height: var(--touch);
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: none;
  font-size: 14px;
  transition:
    background-color var(--dur-fast),
    border-color var(--dur-fast),
    color var(--dur-fast),
    transform var(--dur-fast) var(--ease),
    opacity var(--dur-fast);
}
.seg-row button:active,
.chip:active:not(:disabled) {
  transform: scale(0.96);
}
.seg-row button[aria-checked='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.chip {
  min-width: 68px;
}
.chip[aria-checked='true'] {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--bg);
  font-weight: 600;
}
.chip:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}
@media (hover: hover) {
  .seg-row button:hover,
  .chip:hover:not(:disabled) {
    border-color: var(--ink);
  }
}

/* ===== Đặt lịch lái thử ===== */
.td {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: start;
}
.td-note {
  max-width: 40ch;
  color: var(--mute);
}
.td-ph {
  margin-top: var(--s6);
  border-radius: var(--r);
}
.form {
  display: grid;
  gap: 22px;
  transition:
    opacity var(--dur),
    transform var(--dur) var(--ease);
}
.form.hide {
  display: none;
}
.fld {
  display: grid;
  gap: var(--s2);
  align-content: start;
  min-width: 0;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.inp {
  width: 100%;
  height: 52px;
  padding: 0 var(--s4);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 15px;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast);
}
.inp::placeholder {
  color: #6d7077;
}
.inp:hover {
  border-color: var(--line-strong);
}
.inp:focus {
  outline: 0;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px var(--ice-ring);
}
.fld[data-invalid] .inp {
  border-color: var(--err);
  box-shadow: 0 0 0 3px var(--err-ring);
}
.err {
  display: none;
  font-size: 13px;
  color: var(--err-ink);
}
.fld[data-invalid] .err {
  display: block;
  animation: rv-in var(--dur) var(--ease) backwards;
}
.btn-send {
  min-height: 52px;
  padding: 0 var(--s6);
  justify-self: start;
}
.spin {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgb(12 14 17 / 27%);
  border-top-color: var(--bg);
  border-radius: 50%;
}
.btn-send.busy .spin {
  display: block;
  animation: spin 700ms linear infinite;
}
.btn-send.busy {
  opacity: 0.85;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.done {
  display: none;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s5);
  border: 1px solid var(--ice);
  border-radius: var(--r);
  background: var(--ice-wash);
}
.done.show {
  display: flex;
  animation: rv-in var(--dur-slow) var(--ease) backwards;
}
.done h3 {
  font: 700 18px var(--font-d);
  font-stretch: 112%;
}
.done p {
  margin: var(--s2) 0 var(--s4);
  font-size: 14px;
  color: var(--ink-soft);
}
.ok-ic {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice);
}
.ok-ic::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  width: 12px;
  height: 7px;
  border: solid var(--bg);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

/* ===== Trang chi tiết ===== */
.detail {
  padding-top: calc(var(--offset) + var(--nav-h) + var(--s5));
  padding-bottom: var(--s7);
}
.crumbs {
  display: flex;
  gap: var(--s3);
  margin-bottom: var(--s5);
  font-size: 13px;
  color: var(--mute);
}
.crumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.d-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--s7);
  align-items: start;
}
.d-media {
  position: sticky;
  top: calc(var(--offset) + var(--nav-h) + var(--s4));
}
.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: zoom-in;
}
.zoom img {
  transition:
    opacity var(--dur-slow) var(--ease),
    transform 800ms var(--ease);
}
.zhint {
  position: absolute;
  right: var(--s3);
  bottom: var(--s3);
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--scrim);
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--dur),
    transform var(--dur) var(--ease);
}
.zoom:focus-visible .zhint {
  opacity: 1;
  transform: none;
}
@media (hover: hover) {
  .zoom:hover .zhint {
    opacity: 1;
    transform: none;
  }
  .zoom:hover img {
    transform: scale(1.03);
  }
}
.zoom:active img {
  transform: scale(0.99);
}
.d-tag {
  font: 700 11px var(--font-d);
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint);
}
.d-info h1 {
  margin-top: var(--s2);
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 0.95;
}
.d-info h1:focus {
  outline: 0;
}
.d-price {
  margin: var(--s5) 0;
  font: 800 32px var(--font-d);
  font-stretch: 125%;
}
.d-price small {
  display: block;
  font: 400 12px var(--font-b);
  color: var(--mute);
}
.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.seg .pill {
  position: absolute;
  inset: var(--s1) auto var(--s1) var(--s1);
  width: calc(50% - var(--s1));
  border-radius: var(--r-pill);
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.seg[data-v='plus'] .pill {
  transform: translateX(100%);
}
.seg button {
  position: relative;
  min-height: 40px;
  padding: 0 var(--s5);
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--ink);
  transition: color var(--dur);
}
.seg button[aria-checked='true'] {
  color: var(--bg);
  font-weight: 600;
}
.spec-table {
  width: 100%;
  margin: var(--s5) 0;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}
.spec-table th {
  width: 46%;
  font-weight: 400;
  color: var(--mute);
}
.spec-table td {
  font-weight: 500;
}
.d-act {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s4);
}
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-top: var(--s8);
}
.pn a {
  display: block;
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    border-color var(--dur-fast),
    transform var(--dur) var(--ease);
}
.pn a:last-child {
  text-align: right;
}
.pn a:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .pn a:hover {
    border-color: var(--ice);
    transform: translateY(-3px);
  }
}
.pn span {
  display: block;
  font-size: 12px;
  color: var(--mute);
}
.pn b {
  font: 700 18px var(--font-d);
  font-stretch: 112%;
}
.nf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s4);
  padding-top: calc(var(--offset) + var(--nav-h) + var(--s8));
  padding-bottom: var(--s8);
  animation: rv-in var(--dur-slow) var(--ease) backwards;
}
.nf .ic {
  color: var(--err);
  border-color: rgb(224 96 90 / 40%);
}
.nf h1 {
  font-size: clamp(30px, 4vw, 56px);
}

/* ===== Chân trang ===== */
.foot {
  margin-top: var(--s9);
  padding: 56px 0 var(--s6);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s6);
}
.foot-big {
  margin-bottom: 20px;
  font: 800 clamp(40px, 7vw, 104px) / 0.9 var(--font-d);
  font-stretch: 125%;
  text-transform: uppercase;
  color: rgb(236 234 228 / 12%);
}
.foot p + p {
  margin-top: var(--s2);
}
.foot .lbl {
  margin-bottom: var(--s3);
}

/* ===== Điện thoại và máy tính bảng ===== */
@media (max-width: 900px) {
  :root {
    --gutter: 16px;
    --nav-h: 64px;
  }
  .top-in {
    gap: var(--s3);
  }
  .mainnav,
  .top-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .logo {
    font-size: 15px;
  }
  .hero {
    min-height: 680px;
  }
  .stage {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .sl:nth-child(4) {
    display: none;
  }
  .sl:nth-child(3) {
    --clip: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-title {
    font-size: clamp(32px, 10.4vw, 80px);
    margin-bottom: var(--s5);
  }
  #hero-eyebrow {
    line-height: 1.6;
  }
  .metric .lbl {
    letter-spacing: 0.08em;
  }
  .cap {
    bottom: var(--s5);
  }
  .metrics {
    gap: var(--s5);
  }
  .metric b {
    font-size: 28px;
  }
  .hero-actions .btn {
    min-height: 44px;
    padding: 0 18px;
  }
  .dots {
    display: none;
  }
  .sec {
    padding-top: var(--s8);
  }
  .fbar-in {
    flex-wrap: wrap;
    height: auto;
    gap: 0 var(--s2);
    padding-bottom: var(--s3);
  }
  .tabs {
    width: 100%;
    margin: 0;
  }
  .tab {
    height: 52px;
    padding: 0 14px;
  }
  .fbar .dd {
    flex: 1;
    position: static;
  }
  .dd-inline .dd-btn {
    min-width: 0;
    padding: 0 var(--s3);
    font-size: 13px;
  }
  .dd-btn em {
    display: none;
  }
  .dd-inline .dd-list {
    left: var(--s4);
    right: var(--s4);
    width: auto;
    max-width: none;
  }
  .fbar-in {
    position: relative;
  }
  .count {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card,
  .card.w {
    grid-column: span 1;
  }
  .card.w .card-in {
    flex-direction: column;
  }
  .card.w .ph {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .card.w .bd {
    padding: 20px 22px 22px;
  }
  .card.w h3 {
    font-size: 24px;
  }
  .empty {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .dock {
    left: var(--s2);
    right: var(--s2);
  }
  .dock-in {
    flex-wrap: wrap;
    border-radius: var(--r);
  }
  .dock-note,
  .chip-slot {
    display: none;
  }
  .dock .btn-solid {
    margin-left: auto;
  }
  .fin,
  .td,
  .d-grid,
  .foot-grid,
  .two {
    grid-template-columns: 1fr;
  }
  .td {
    gap: var(--s6);
  }
  .fin-r {
    padding: var(--s5) 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .fin-sk,
  .d-media {
    position: static;
  }
  .fin-tx {
    padding: 20px;
  }
  .fin-ph {
    border-radius: var(--r) var(--r) 0 0;
  }
  .d-grid {
    gap: var(--s5);
  }
  .pn {
    margin-top: var(--s7);
  }
  .foot-grid {
    gap: var(--s5);
  }
}

/* ===== Giảm chuyển động ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .rv:not(.in) {
    opacity: 1;
    transform: none;
  }
  .ph::before {
    animation: none;
  }
}
