/* VinFast Bình Dương - giao diện xe */
:root {
  --vf-blue: #1464f4;
  --vf-blue-d: #0b4fd0;
  --vf-navy: #0b1f3f;
  --vf-red: #e0262b;
  --vf-green: #0f9d58;
  --vf-ink: #1d2433;
  --vf-mute: #667085;
  --vf-line: #e4e7ec;
  --vf-soft: #f3f6fb;
  --vf-r: 14px;
  --vf-shadow: 0 6px 24px rgba(16, 24, 40, .08);
}

.vfbd { color: var(--vf-ink); font-size: 15px; line-height: 1.6; }
.vfbd *, .vfbd *::before, .vfbd *::after { box-sizing: border-box; }
.vfbd-wrap { max-width: 1200px; margin: 0 auto; padding: 16px 16px 40px; }
.vfbd h1 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; margin: 0 0 8px; color: var(--vf-navy); }
.vfbd-h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--vf-navy); margin: 0 0 16px; line-height: 1.3; }
.vfbd-h2 i { color: var(--vf-red); margin-right: 6px; }
.vfbd-h3 { font-size: 18px; color: var(--vf-navy); margin: 0 0 12px; }
.vfbd-center { text-align: center; }
.vfbd-sec { margin: 36px 0 0; }
.vfbd-note { font-size: 13px; color: var(--vf-mute); margin: 12px 0 0; }
.vfbd-red { color: var(--vf-red); }
.vfbd-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; background: var(--vf-soft); color: var(--vf-mute); font-size: 13px; }
.vfbd-hp { position: absolute !important; left: -9999px !important; }

/* Breadcrumb & head */
.vfbd-bc { font-size: 13px; color: var(--vf-mute); margin: 4px 0 16px; }
.vfbd-bc a { color: var(--vf-mute); }
.vfbd-bc span { margin: 0 4px; }
.vfbd-head { text-align: center; max-width: 780px; margin: 0 auto 24px; }
.vfbd-head p { color: var(--vf-mute); margin: 0; }

/* Buttons */
.vfbd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: .15s; text-transform: none; letter-spacing: 0; min-height: 44px; margin: 0; }
.vfbd-btn-main { background: var(--vf-blue); color: #fff !important; }
.vfbd-btn-main:hover { background: var(--vf-blue-d); }
.vfbd-btn-red { background: var(--vf-red); color: #fff !important; }
.vfbd-btn-red:hover { filter: brightness(.92); }
.vfbd-btn-line { background: #fff; color: var(--vf-blue) !important; border-color: var(--vf-blue); }
.vfbd-btn-line:hover { background: var(--vf-soft); }
.vfbd-btn-block { width: 100%; }
.vfbd-btn-sm { padding: 6px 12px; min-height: 34px; font-size: 13px; }
.vfbd-btn[disabled] { opacity: .6; cursor: wait; }
.vfbd-link-sm { display: block; margin-top: 10px; font-size: 14px; color: var(--vf-blue); font-weight: 600; }
.vfbd-link-sm i { width: 18px; }

/* Grid & cards */
.vfbd-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vfbd-grid-3, .vfbd-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vfbd-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .vfbd-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.vfbd-card { background: #fff; border-radius: var(--vf-r); box-shadow: var(--vf-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.vfbd-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16, 24, 40, .12); }
.vfbd-card[hidden] { display: none; }
.vfbd-card-img { position: relative; display: block; background: linear-gradient(180deg, #f7f9fc, #eef2f8); aspect-ratio: 16/10; overflow: hidden; }
.vfbd-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.vfbd-card-cu .vfbd-card-img img { object-fit: cover; padding: 0; }
.vfbd-card:hover .vfbd-card-img img { transform: scale(1.04); }
.vfbd-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vfbd-card-title { font-size: 18px; margin: 0; line-height: 1.3; text-transform: uppercase; }
.vfbd-card-title a { color: var(--vf-navy); }
.vfbd-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--vf-mute); }
.vfbd-card-meta b { color: var(--vf-green); }
.vfbd-tag { display: inline-block; background: #e8f0ff; color: var(--vf-blue); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.vfbd-card-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vfbd-p { border-radius: 10px; padding: 8px 10px; color: #fff; text-align: center; }
.vfbd-p small { display: block; font-size: 12px; opacity: .9; }
.vfbd-p b { font-size: 15px; white-space: nowrap; }
.vfbd-p-red { background: linear-gradient(135deg, #e0262b, #b8141a); }
.vfbd-p-blue { background: linear-gradient(135deg, #1464f4, #0b4fd0); }
.vfbd-card-km { background: #fff6ec; border: 1px dashed #f5a35b; color: #9a4b00; border-radius: 10px; padding: 7px 10px; font-size: 13px; text-align: center; }
.vfbd-card-km b { color: var(--vf-red); }
.vfbd-card-price { font-size: 20px; font-weight: 800; color: var(--vf-red); }
.vfbd-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.vfbd-card-btns .vfbd-btn { padding: 8px 6px; font-size: 13px; }
.vfbd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vfbd-chips li { margin: 0; background: var(--vf-soft); border-radius: 99px; padding: 3px 10px; font-size: 12.5px; color: #344054; }
.vfbd-ribbon { position: absolute; top: 12px; left: 12px; background: var(--vf-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.is-sold .vfbd-card-img img { filter: grayscale(.6); opacity: .8; }

/* Tabs */
.vfbd-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.vfbd-tabs button { margin: 0; border: 1px solid var(--vf-line); background: #fff; color: var(--vf-ink); border-radius: 10px; padding: 8px 18px; font-weight: 600; font-size: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 40px; }
.vfbd-tabs button.is-on { background: var(--vf-blue); border-color: var(--vf-blue); color: #fff; }

/* Quick actions */
.vfbd-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 850px) { .vfbd-actions { grid-template-columns: repeat(4, 1fr); } }
.vfbd-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--vf-navy); border-radius: 12px; padding: 14px 10px; font-weight: 700; box-shadow: var(--vf-shadow); text-align: center; line-height: 1.3; }
.vfbd-actions a:hover { background: var(--vf-blue); color: #fff; }
.vfbd-actions i { font-size: 20px; color: var(--vf-blue); }
.vfbd-actions a:hover i { color: #fff; }

/* Single: hero */
.vfbd-hero { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .vfbd-hero { grid-template-columns: 1.15fr 1fr; gap: 32px; } }
.vfbd-car-stage { position: relative; background: radial-gradient(ellipse at 50% 70%, #eef3fb 0%, #fff 70%); border-radius: var(--vf-r); border: 1px solid var(--vf-line); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vfbd-car-stage img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.vfbd-tag-float { position: absolute; top: 12px; right: 12px; z-index: 1; }
.vfbd-colors { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.vfbd-color-name { font-weight: 600; font-size: 14px; }
.vfbd-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.vfbd-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--vf-line); cursor: pointer; padding: 0; margin: 0; min-height: 0; }
.vfbd-swatch.is-on { box-shadow: 0 0 0 2px var(--vf-blue); }
.vfbd-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.vfbd-title-row h1 { margin: 0; color: var(--vf-blue); }
.vfbd-nedc { background: #e9f8ef; color: var(--vf-green); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Price box */
.vfbd-pb-vers { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.vfbd-ver { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--vf-line); border-radius: 10px; background: #f9fafb; cursor: pointer; margin: 0; font-weight: 400; transition: .15s; }
.vfbd-ver input { margin: 0; accent-color: var(--vf-blue); width: 18px; height: 18px; flex-shrink: 0; }
.vfbd-ver.is-on { border-color: var(--vf-blue); background: #f0f5ff; }
.vfbd-ver-name { flex: 1; font-weight: 600; }
.vfbd-ver-price { text-align: right; line-height: 1.25; }
.vfbd-ver-price s { display: block; font-size: 12px; color: #98a2b3; }
.vfbd-ver-price s:empty { display: none; }
.vfbd-ver-price b { color: var(--vf-red); white-space: nowrap; }
.vfbd-box { border: 1.5px solid; border-radius: 12px; padding: 4px 12px 8px; margin: 14px 0 0; position: relative; min-width: 0; }
.vfbd-box legend { width: auto; float: none; display: inline-block; border: 0; margin: 0 0 0 4px; font-size: 12px; line-height: 1.5; font-weight: 700; text-transform: uppercase; color: #fff; padding: 2px 10px; border-radius: 99px; letter-spacing: .02em; }
.vfbd-box legend + * { margin-top: 0; }
.vfbd-box-blue { border-color: #b6ccff; }
.vfbd-box-blue legend { background: var(--vf-blue); }
.vfbd-box-red { border-color: #ffc9a8; background: #fffaf6; }
.vfbd-box-red legend { background: #ea580c; }
.vfbd-chk { display: flex; align-items: center; gap: 8px; padding: 6px 4px; margin: 0; cursor: pointer; font-weight: 500; font-size: 14px; border-radius: 6px; }
.vfbd-chk input { margin: 0; width: 17px; height: 17px; flex-shrink: 0; }
.vfbd-box-blue .vfbd-chk input { accent-color: var(--vf-blue); }
.vfbd-box-red .vfbd-chk input { accent-color: #ea580c; }
.vfbd-chk span { flex: 1; }
.vfbd-chk em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.vfbd-box-blue .vfbd-chk em { background: #dce7ff; color: var(--vf-blue); }
.vfbd-box-red .vfbd-chk em { background: #fde2e2; color: var(--vf-red); }
.vfbd-chk.is-on span { font-weight: 700; }
.vfbd-pb-total { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--vf-navy); color: #fff; }
.vfbd-pb-total b { font-size: 22px; color: #ffd166; }
.vfbd-gop { margin-top: 8px; background: linear-gradient(135deg, #1464f4, #2b7bff); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.vfbd-gop b { font-size: 16px; }
.vfbd-pb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Sub nav */
.vfbd-subnav { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto; background: var(--vf-blue); border-radius: 10px; padding: 4px; margin: 28px 0 0; scrollbar-width: none; }
.vfbd-subnav::-webkit-scrollbar { display: none; }
.vfbd-subnav a { color: #fff; white-space: nowrap; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.vfbd-subnav a:hover { background: rgba(255, 255, 255, .18); }
body.admin-bar .vfbd-subnav { top: 32px; }
.vfbd [id] { scroll-margin-top: 80px; }

/* Layout main + side */
.vfbd-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .vfbd-layout { grid-template-columns: minmax(0, 1fr) 340px; } .vfbd-layout-full { grid-template-columns: 1fr; } }
.vfbd-side { position: relative; }
@media (min-width: 1000px) { .vfbd-side-card { position: sticky; top: 70px; margin-top: 36px; } }
.vfbd-side-card { background: #fff; border-radius: var(--vf-r); box-shadow: var(--vf-shadow); overflow: hidden; }
.vfbd-side-head { background: linear-gradient(135deg, var(--vf-navy), #17407e); color: #fff; text-align: center; padding: 18px 16px; }
.vfbd-side-head small { display: block; text-transform: uppercase; letter-spacing: .06em; opacity: .8; font-size: 12px; }
.vfbd-side-head b { display: block; font-size: 17px; margin: 2px 0 8px; }
.vfbd-side-phone { display: inline-block; background: var(--vf-red); color: #fff !important; font-weight: 800; font-size: 20px; padding: 6px 18px; border-radius: 99px; }
.vfbd-side-card .vfbd-form { padding: 16px; }

/* Promo list */
.vfbd-promo-box { background: #fff; border: 1px solid var(--vf-line); border-left: 4px solid var(--vf-red); border-radius: var(--vf-r); padding: 20px; }
.vfbd-checks { list-style: none; margin: 0; padding: 0; }
.vfbd-checks li { position: relative; padding: 4px 0 4px 28px; margin: 0; }
.vfbd-checks li::before { content: "✓"; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: var(--vf-green); color: #fff; font-size: 12px; line-height: 19px; text-align: center; font-weight: 700; }
@media (min-width: 700px) { .vfbd-checks-2 { columns: 2; } }

/* Tables */
.vfbd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--vf-line); }
.vfbd-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; background: #fff; }
.vfbd-table th, .vfbd-table td { padding: 10px 12px; border-bottom: 1px solid var(--vf-line); text-align: left; vertical-align: middle; }
.vfbd-table thead th { background: var(--vf-navy); color: #fff; font-weight: 600; white-space: nowrap; }
.vfbd-table tr:last-child td { border-bottom: 0; }
.vfbd-specs td:first-child { color: var(--vf-mute); width: 45%; }
.vfbd-specs-group th { background: var(--vf-soft); color: var(--vf-navy); text-transform: uppercase; font-size: 13px; }
.vfbd-info { border: 1px solid var(--vf-line); border-radius: 12px; overflow: hidden; margin: 14px 0 0; }
.vfbd-info td:first-child { color: var(--vf-mute); width: 42%; }
.vfbd-bang-gia .vfbd-bg-car a { display: flex; align-items: center; gap: 10px; color: var(--vf-navy); }
.vfbd-bang-gia .vfbd-bg-car img { width: 72px; height: auto; }
.vfbd-bang-gia td.vfbd-red { font-weight: 700; white-space: nowrap; }

/* Calculator */
.vfbd-calc { background: #fff; border: 1px solid var(--vf-line); border-radius: var(--vf-r); padding: 18px; box-shadow: var(--vf-shadow); }
.vfbd-calc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vfbd-calc-grid { grid-template-columns: 1fr 1.1fr; } }
.vfbd-field { display: block; margin: 0 0 12px; font-weight: 400; }
.vfbd-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--vf-mute); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .02em; }
.vfbd-field select, .vfbd-field input[type=number] { width: 100%; margin: 0; height: 44px; border-radius: 10px; }
.vfbd-field input[type=range] { width: 100%; accent-color: var(--vf-blue); margin: 8px 0 0; }
.vfbd-calc-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.vfbd-calc-table .vfbd-strong td { background: #f0f5ff; }
.vfbd-calc-table .vfbd-green td:last-child { color: var(--vf-green); }
.vfbd-lanbanh { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--vf-navy); color: #fff; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.vfbd-lanbanh b { font-size: 20px; color: #ffd166; white-space: nowrap; }
.vfbd-loan { border-top: 1px dashed var(--vf-line); margin-top: 20px; padding-top: 18px; }
.vfbd-loan-in { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vfbd-loan-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .vfbd-loan-in { grid-template-columns: repeat(4, 1fr); } }
.vfbd-kpis { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 4px 0 14px; }
@media (min-width: 900px) { .vfbd-kpis { grid-template-columns: repeat(4, 1fr); } }
.vfbd-kpis div { background: var(--vf-soft); border-radius: 10px; padding: 10px 12px; }
.vfbd-kpis small { display: block; font-size: 12px; color: var(--vf-mute); }
.vfbd-kpis b { font-size: 17px; color: var(--vf-navy); }
.vfbd-kpis b.vfbd-red { color: var(--vf-red); }
.vfbd-sched { max-height: 420px; overflow: auto; margin-top: 12px; }
.vfbd-sched td { white-space: nowrap; }

/* Content */
.vfbd-content { background: #fff; border-radius: var(--vf-r); }
.vfbd-content img { border-radius: 10px; height: auto; }
.vfbd-content h2 { color: var(--vf-navy); font-size: 22px; margin-top: 28px; }
.vfbd-photos { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .vfbd-photos { grid-template-columns: repeat(3, 1fr); } }
.vfbd-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* Gallery viewer */
.vfbd-viewer-main { border-radius: var(--vf-r); overflow: hidden; background: var(--vf-soft); aspect-ratio: 4/3; }
.vfbd-viewer-main img { width: 100%; height: 100%; object-fit: cover; }
.vfbd-viewer-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
.vfbd-viewer-thumbs button { flex: 0 0 80px; height: 60px; padding: 0; margin: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; min-height: 0; }
.vfbd-viewer-thumbs button.is-on { border-color: var(--vf-blue); }
.vfbd-viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vfbd-big-price { font-size: 30px; font-weight: 800; color: var(--vf-red); margin: 6px 0 0; }
.vfbd-status { display: inline-block; background: var(--vf-red); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }

/* Rent */
.vfbd-rent-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.vfbd-rent-prices div { background: var(--vf-soft); border-radius: 10px; padding: 10px; text-align: center; }
.vfbd-rent-prices div:first-child { background: linear-gradient(135deg, #e0262b, #b8141a); color: #fff; }
.vfbd-rent-prices small { display: block; font-size: 12px; opacity: .85; }
.vfbd-rent-prices b { font-size: 16px; white-space: nowrap; }
.vfbd-rent-form { margin-top: 18px; background: #fff; border: 1.5px solid var(--vf-blue); border-radius: var(--vf-r); padding: 16px; }
.vfbd-rent-est { display: flex; justify-content: space-between; align-items: center; background: #f0f5ff; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.vfbd-rent-est[hidden] { display: none; }
.vfbd-rent-total { color: var(--vf-red); font-size: 18px; }

/* Steps, split, services, faq */
.vfbd-steps { list-style: none; counter-reset: s; display: grid; gap: 12px; grid-template-columns: 1fr; margin: 16px 0 0; padding: 0; }
@media (min-width: 700px) { .vfbd-steps { grid-template-columns: repeat(3, 1fr); } .vfbd-steps-4 { grid-template-columns: repeat(4, 1fr); } }
.vfbd-steps li { counter-increment: s; background: #fff; border-radius: 12px; padding: 14px 14px 14px 56px; position: relative; box-shadow: var(--vf-shadow); margin: 0; }
.vfbd-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--vf-blue); color: #fff; font-weight: 800; text-align: center; line-height: 30px; }
.vfbd-steps b { display: block; color: var(--vf-navy); }
.vfbd-steps span { font-size: 13.5px; color: var(--vf-mute); }
.vfbd-split { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .vfbd-split { grid-template-columns: 1.1fr 1fr; } }
.vfbd-split .vfbd-h2 + ul { margin-bottom: 24px; }
.vfbd-card-form { background: #fff; border-radius: var(--vf-r); box-shadow: var(--vf-shadow); padding: 20px; border-top: 4px solid var(--vf-blue); }
.vfbd-service { background: #fff; border-radius: var(--vf-r); padding: 20px; box-shadow: var(--vf-shadow); text-align: center; }
.vfbd-service i { font-size: 30px; color: var(--vf-blue); margin-bottom: 10px; }
.vfbd-service h3 { font-size: 17px; margin: 0 0 6px; color: var(--vf-navy); }
.vfbd-service p { margin: 0; font-size: 14px; color: var(--vf-mute); }
.vfbd-faq details { background: #fff; border-radius: 12px; box-shadow: var(--vf-shadow); margin: 0 0 10px; padding: 0 16px; }
.vfbd-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--vf-navy); }
.vfbd-faq details p { margin: 0 0 14px; color: #475467; }
.vfbd-empty { text-align: center; background: var(--vf-soft); border-radius: var(--vf-r); padding: 28px 16px; }
.vfbd-empty p { margin: 0 0 14px; }

/* Filter */
.vfbd-filter { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; background: #fff; padding: 12px; border-radius: var(--vf-r); box-shadow: var(--vf-shadow); margin: 0 0 20px; }
@media (min-width: 900px) { .vfbd-filter { grid-template-columns: repeat(4, 1fr) auto; } }
.vfbd-filter select { margin: 0; height: 44px; border-radius: 10px; }
.vfbd-filter .vfbd-btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .vfbd-filter .vfbd-btn { grid-column: auto; } }
.vfbd-pager { text-align: center; margin: 20px 0 0; }
.vfbd-pager .page-numbers { display: inline-block; padding: 6px 12px; border-radius: 8px; margin: 2px; background: #fff; box-shadow: var(--vf-shadow); }
.vfbd-pager .current { background: var(--vf-blue); color: #fff; }

/* Form */
.vfbd-form { margin: 0; }
.vfbd-form label { display: block; margin: 0 0 10px; font-weight: 400; }
.vfbd-form label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #344054; }
.vfbd-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .vfbd-form select, .vfbd-form textarea { width: 100%; margin: 0; border-radius: 10px; min-height: 44px; font-size: 15px; box-shadow: none; }
.vfbd-row2 { display: grid; gap: 0 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .vfbd-row2 { grid-template-columns: 1fr 1fr; } }
.vfbd-side .vfbd-row2 { grid-template-columns: 1fr; }
.vfbd-form-title { font-size: 18px; color: var(--vf-navy); margin: 0 0 12px; }
.vfbd-form-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.vfbd-form-msg:empty { display: none; }
.vfbd-form-msg.is-ok { color: var(--vf-green); }
.vfbd-form-msg.is-err { color: var(--vf-red); }
.vfbd-privacy { font-size: 12px; color: var(--vf-mute); margin: 8px 0 0; text-align: center; }

/* Modal */
.vfbd-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; }
.vfbd-modal.is-open { display: flex; }
.vfbd-modal-bg { position: absolute; inset: 0; background: rgba(11, 31, 63, .6); }
.vfbd-modal-box { position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 24px 20px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); animation: vfbdIn .2s ease-out; }
.vfbd-modal-box h3 { margin: 0 0 4px; color: var(--vf-blue); font-size: 22px; }
.vfbd-modal-sub { color: var(--vf-mute); font-size: 14px; margin: 0 0 14px; }
.vfbd-modal-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; background: var(--vf-soft); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--vf-ink); }
html.vfbd-lock, html.vfbd-lock body { overflow: hidden; }
@keyframes vfbdIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Mobile */
@media (max-width: 599px) {
  .vfbd-wrap { padding-left: 12px; padding-right: 12px; }
  .vfbd-pb-btns { grid-template-columns: 1fr; }
  .vfbd-pb-total b { font-size: 19px; }
  .vfbd-card-title { font-size: 17px; }
  .vfbd-calc { padding: 14px 12px; }
  .vfbd-rent-prices b { font-size: 14px; }
}

/* Trang chủ */
.vfbd-kicker { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--vf-blue); margin: 0 0 4px; }
.vfbd-lead { text-align: center; color: var(--vf-mute); max-width: 720px; margin: -6px auto 22px; }
.vfbd-more { margin: 22px 0 0; }
.vfbd-home-actions .vfbd-actions a { box-shadow: none; }
.vfbd-home-sec .vfbd-h2 { margin-bottom: 14px; }
.box_fixRight a[href="#vfbd-form"] { cursor: pointer; }

@media (min-width: 600px) and (max-width: 999px) { .vfbd-services { grid-template-columns: repeat(2, 1fr); } }
.vfbd-kicker, .vfbd-lead, .vfbd-center { text-align: center !important; }
.vfbd-layout > *, .vfbd-calc-grid > *, .vfbd-hero > *, .vfbd-split > * { min-width: 0; }
.vfbd-calc-table td:first-child { white-space: normal; }

.vfbd-single-thue .vfbd-viewer-main { background: radial-gradient(ellipse at 50% 70%, #eef3fb 0%, #fff 70%); border: 1px solid var(--vf-line); aspect-ratio: 16/10; }
.vfbd-single-thue .vfbd-viewer-main img { object-fit: contain; padding: 12px; }
.vfbd-form button.vfbd-btn-main, .vfbd button.vfbd-btn-main { background: var(--vf-blue) !important; color: #fff !important; border-color: transparent !important; }
.vfbd-form button.vfbd-btn-main:hover { background: var(--vf-blue-d) !important; }
.vfbd button.vfbd-btn-line { background: #fff !important; color: var(--vf-blue) !important; border-color: var(--vf-blue) !important; }

/* ===== Ưu tiên di động ===== */
.vfbd-mbar { display: none; }
@media (max-width: 849px) {
  /* Header: logo không đè nội dung */
  #logo img, #logo .header-logo, #logo .header-logo-dark { max-height: 60px !important; width: auto !important; }
  #logo { display: flex; align-items: center; }
  /* Ô nhập >= 16px để iPhone không tự phóng to */
  .vfbd-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .vfbd-form select, .vfbd-form textarea,
  .vfbd-field select, .vfbd-field input[type=number], .vfbd-filter select { font-size: 16px; }
  /* Thanh nút cố định đáy màn hình */
  .vfbd-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; box-shadow: 0 -4px 18px rgba(16, 24, 40, .14); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; align-items: center; }
  body { padding-bottom: 72px; }
  .vfbd-mb-ico { flex: 0 0 52px; height: 48px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1.1; color: #fff !important; }
  .vfbd-mb-ico i { font-size: 17px; margin-bottom: 2px; }
  .vfbd-mb-ico b { font-size: 13px; }
  .vfbd-mb-call { background: var(--vf-red); }
  .vfbd-mb-zalo { background: #0068ff; }
  .vfbd-mb-cta { flex: 1; height: 48px; border-radius: 12px; background: var(--vf-blue); color: #fff !important; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
  .vfbd-mb-price { flex: 1; line-height: 1.15; min-width: 0; }
  .vfbd-mb-price small { display: block; font-size: 11px; color: var(--vf-mute); }
  .vfbd-mb-price b { font-size: 17px; color: var(--vf-red); white-space: nowrap; }
  .vfbd-mbar-xe .vfbd-mb-cta { flex: 0 0 auto; padding: 0 16px; font-size: 15px; }
  /* Nút nổi cũ trùng chức năng thì ẩn trên điện thoại */
  .wn-contact, .box_fixRight { display: none !important; }
  .back-to-top { bottom: 84px !important; }
  .vfbd [id] { scroll-margin-top: 60px; }
}

@media (max-width: 599px) {
  .vfbd-hide-sm { display: none !important; }
  .vfbd-wrap { padding: 10px 12px 28px; }
  .vfbd-head { margin-bottom: 16px; }
  .vfbd-head p, .vfbd-lead { font-size: 14px; }
  .vfbd-sec { margin-top: 26px; }
  /* Lưới 2 cột, thẻ gọn */
  .vfbd-grid-3, .vfbd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vfbd-card { border-radius: 12px; }
  .vfbd-card:hover { transform: none; }
  .vfbd-card-img img { padding: 4px; }
  .vfbd-card-body { padding: 8px 10px 10px; gap: 6px; }
  .vfbd-card-title { font-size: 14px; letter-spacing: -.01em; }
  .vfbd-card-meta { font-size: 11.5px; flex-wrap: wrap; gap: 4px; }
  .vfbd-card-meta .vfbd-tag { display: none; }
  .vfbd-card-prices { grid-template-columns: 1fr; gap: 4px; }
  .vfbd-p { padding: 5px 8px; text-align: left; display: flex; justify-content: space-between; align-items: baseline; gap: 4px; border-radius: 8px; }
  .vfbd-p small { font-size: 11px; }
  .vfbd-p b { font-size: 13px; }
  .vfbd-card-km { font-size: 11.5px; padding: 4px 6px; border-radius: 8px; }
  .vfbd-card-price { font-size: 16px; }
  .vfbd-chips { gap: 4px; }
  .vfbd-chips li { font-size: 11px; padding: 2px 7px; }
  .vfbd-card-btns { grid-template-columns: 1fr; gap: 6px; }
  .vfbd-card-btns .vfbd-btn { min-height: 38px; font-size: 13px; padding: 6px; border-radius: 9px; }
  .vfbd-card-thue .vfbd-chips li:nth-child(n+3) { display: none; }
  /* Thanh nút nhanh trang chủ */
  .vfbd-actions { gap: 8px; }
  .vfbd-actions a { flex-direction: column; gap: 4px; padding: 10px 6px; font-size: 13px; }
  .vfbd-actions i { font-size: 22px; }
  /* Dịch vụ 2 cột */
  .vfbd-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vfbd-service { padding: 14px 10px; }
  .vfbd-service i { font-size: 24px; margin-bottom: 6px; }
  .vfbd-service h3 { font-size: 14px; }
  .vfbd-service p { font-size: 12.5px; }
  /* Trang xe */
  .vfbd-hero { gap: 14px; }
  .vfbd-car-stage { aspect-ratio: 16/9; }
  .vfbd-title-row h1 { font-size: 24px; }
  .vfbd-ver { padding: 10px 12px; }
  .vfbd-subnav { margin-top: 20px; border-radius: 0; margin-left: -12px; margin-right: -12px; }
  .vfbd-promo-box { padding: 14px; }
  .vfbd-steps li { padding: 12px 12px 12px 52px; }
  .vfbd-filter { grid-template-columns: 1fr 1fr; padding: 10px; }
  .vfbd-kpis b { font-size: 15px; }
  .vfbd-rent-prices b { font-size: 13px; }
  .vfbd-big-price { font-size: 26px; }
  /* Popup form trượt từ dưới lên */
  .vfbd-modal { align-items: flex-end; padding: 0; }
  .vfbd-modal-box { border-radius: 18px 18px 0 0; max-height: 92vh; padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); }
}

.vfbd-collapse.is-collapsed { max-height: 720px; overflow: hidden; position: relative; }
.vfbd-collapse.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.vfbd-more-btn { margin-top: 10px; }
