/* ==========================================================================
   VinFast Dealer – main stylesheet
   ========================================================================== */
:root {
	--vfd-accent: #e30613;
	--vfd-dark: #111214;
	--vfd-text: #1d1d1f;
	--vfd-muted: #5f6368;
	--vfd-line: #e7e7ea;
	--vfd-soft: #f5f5f7;
	--vfd-white: #fff;
	--vfd-radius: 12px;
	--vfd-shadow: 0 6px 24px rgba(17, 18, 20, .07);
	--vfd-shadow-lg: 0 14px 40px rgba(17, 18, 20, .14);
	--vfd-container: 1140px;
	--vfd-header-h: 72px;
	--vfd-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.vfd-lock { overflow: hidden; }
body { margin: 0; font-family: var(--vfd-font); font-size: 15px; line-height: 1.6; color: var(--vfd-text); background: var(--vfd-white); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vfd-accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--vfd-accent); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.vfd-skip:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 10000; background: #fff; padding: 10px 16px; border-radius: 8px; }

.vfd-container { width: 100%; max-width: calc(var(--vfd-container) + 32px); margin: 0 auto; padding: 0 16px; }
.vfd-center { text-align: center; }
.vfd-section { padding: 64px 0; }
.vfd-section--tight { padding: 40px 0 64px; }
.vfd-h1 { font-size: clamp(28px, 3.4vw, 38px); }
.vfd-h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 28px; }
.vfd-h3 { font-size: 20px; }
.vfd-eyebrow { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.vfd-lead { font-size: 17px; color: var(--vfd-muted); max-width: 760px; }
.vfd-meta { color: var(--vfd-muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.vfd-note { font-size: 13px; color: var(--vfd-muted); }
.vfd-card { background: #fff; border-radius: var(--vfd-radius); box-shadow: var(--vfd-shadow); padding: 28px; }

/* ---------- Buttons ---------- */
.vfd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.vfd-btn:hover { transform: translateY(-1px); }
.vfd-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.vfd-btn--dark { background: var(--vfd-dark); color: #fff; }
.vfd-btn--dark:hover { background: #000; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.vfd-btn--accent { background: var(--vfd-accent); color: #fff; }
.vfd-btn--accent:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 6px 18px rgba(227, 6, 19, .3); }
.vfd-btn--light { background: #fff; color: var(--vfd-dark); }
.vfd-btn--light:hover { color: var(--vfd-dark); }
.vfd-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.vfd-btn--ghost:hover { background: #fff; color: var(--vfd-dark); }
.vfd-btn--sm { height: 36px; padding: 0 16px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; }
.vfd-btn--xs { height: 30px; padding: 0 12px; font-size: 12px; }
.vfd-btn--block { width: 100%; }
.vfd-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.vfd-link--light { color: #fff; }
.vfd-iconbtn { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 6px; line-height: 0; }

/* ---------- Top bar ---------- */
.vfd-topbar { background: linear-gradient(90deg, #eef4ff 0%, #f7f2f6 50%, #fcefee 100%); font-size: 12.5px; color: #333; }
.vfd-topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.vfd-topbar__info { display: flex; gap: 20px; align-items: center; min-width: 0; }
.vfd-topbar__info > * { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vfd-topbar__nav { display: flex; align-items: center; gap: 8px; }
.vfd-topmenu { display: flex; list-style: none; gap: 16px; margin: 0; padding: 0; }

/* ---------- Header ---------- */
.vfd-header { position: sticky; top: 0; z-index: 900; background: var(--vfd-dark); color: #fff; transition: box-shadow .2s, background .2s; }
.admin-bar .vfd-header { top: 32px; }
.vfd-header.is-stuck { background: rgba(17, 18, 20, .96); box-shadow: 0 4px 20px rgba(0, 0, 0, .25); backdrop-filter: saturate(160%) blur(8px); }
.vfd-header__in { display: flex; align-items: center; gap: 24px; height: var(--vfd-header-h); }
.vfd-logo { flex: 0 0 auto; }
.vfd-logo img { max-height: 44px; width: auto; }
.vfd-header .vfd-logo img { filter: none; }
.vfd-logo__text { font-weight: 800; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.vfd-logo__text--dark { color: var(--vfd-dark); }
.vfd-nav { margin-left: auto; }
.vfd-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.vfd-menu > li { position: relative; }
.vfd-menu > li > a { display: block; padding: 10px 9px; font-size: 14px; white-space: nowrap; font-weight: 500; color: rgba(255, 255, 255, .88); border-radius: 8px; }
.vfd-menu > li > a:hover, .vfd-menu > .current-menu-item > a, .vfd-menu > .current-menu-ancestor > a { color: #fff; font-weight: 600; }
.vfd-menu > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--vfd-accent); border-radius: 0; }
.vfd-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 10px; box-shadow: var(--vfd-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.vfd-menu li:hover > .sub-menu, .vfd-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vfd-menu .sub-menu a { display: block; padding: 8px 12px; color: var(--vfd-text); font-size: 14px; border-radius: 6px; }
.vfd-menu .sub-menu a:hover { background: var(--vfd-soft); color: var(--vfd-accent); }
.vfd-hotbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 10px; font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap; }
.vfd-hotbtn:hover { background: #fff; color: var(--vfd-dark); }
.vfd-burger { display: none; color: #fff; }

/* ---------- Drawer ---------- */
.vfd-drawer, .vfd-search, .vfd-modal, .vfd-lightbox { position: fixed; inset: 0; z-index: 9999; visibility: hidden; pointer-events: none; }
.vfd-drawer.is-open, .vfd-search.is-open, .vfd-modal.is-open, .vfd-lightbox.is-open { visibility: visible; pointer-events: auto; }
.vfd-drawer__bg, .vfd-search__bg, .vfd-modal__bg, .vfd-lightbox__bg { position: absolute; inset: 0; background: rgba(10, 10, 12, .6); opacity: 0; transition: opacity .25s; }
.is-open > .vfd-drawer__bg, .is-open > .vfd-search__bg, .is-open > .vfd-modal__bg, .is-open > .vfd-lightbox__bg { opacity: 1; }
.vfd-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 56px 20px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; }
.vfd-drawer.is-open .vfd-drawer__panel { transform: none; }
.vfd-drawer__x { position: absolute; top: 10px; right: 10px; }
.vfd-mmenu { list-style: none; margin: 16px 0; padding: 0; }
.vfd-mmenu li { position: relative; border-bottom: 1px solid var(--vfd-line); }
.vfd-mmenu a { display: block; padding: 13px 40px 13px 4px; font-weight: 600; }
.vfd-mmenu--sub a { font-weight: 400; font-size: 14px; color: var(--vfd-muted); }
.vfd-mmenu .sub-menu { display: none; list-style: none; padding: 0 0 8px 12px; margin: 0; }
.vfd-mmenu .is-open > .sub-menu { display: block; }
.vfd-mmenu .sub-menu li { border: 0; }
.vfd-mmenu .sub-menu a { padding: 8px 4px; font-weight: 400; }
.vfd-subtoggle { position: absolute; right: 0; top: 6px; width: 36px; height: 36px; border: 0; background: var(--vfd-soft); border-radius: 8px; display: grid; place-items: center; }
.is-open > .vfd-subtoggle svg { transform: rotate(180deg); }
.vfd-drawer__contact p { display: flex; gap: 6px; font-size: 13px; color: var(--vfd-muted); margin-top: 14px; }

/* ---------- Search ---------- */
.vfd-search__box { position: absolute; left: 50%; top: 18vh; width: min(640px, 92vw); transform: translate(-50%, -20px); opacity: 0; transition: .25s; }
.vfd-search.is-open .vfd-search__box { transform: translate(-50%, 0); opacity: 1; }
.vfd-searchform { display: flex; background: #fff; border-radius: 999px; border: 1px solid var(--vfd-line); overflow: hidden; }
.vfd-searchform input { flex: 1; border: 0; padding: 0 20px; height: 48px; font: inherit; background: transparent; min-width: 0; }
.vfd-searchform input:focus { outline: none; }
.vfd-searchform button { border: 0; background: var(--vfd-dark); color: #fff; width: 52px; display: grid; place-items: center; }
.vfd-search .vfd-searchform { height: 60px; box-shadow: var(--vfd-shadow-lg); }
.vfd-search .vfd-searchform input { height: 60px; font-size: 17px; }

/* ---------- Hero slider ---------- */
.vfd-hero { position: relative; background: #0d0e10; color: #fff; }
.vfd-slider { position: relative; aspect-ratio: 1920 / 800; overflow: hidden; }
.vfd-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.vfd-slider__slide.is-active { opacity: 1; z-index: 1; }
.vfd-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.vfd-slider__slide a { display: block; height: 100%; }
.vfd-slider__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.vfd-slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: .2s; }
.vfd-slider__dots button.is-active { background: #fff; width: 24px; border-radius: 6px; }
.vfd-slider__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; opacity: 0; transition: .2s; }
.vfd-slider:hover .vfd-slider__arrow { opacity: 1; }
.vfd-slider__prev { left: 20px; }
.vfd-slider__prev svg { transform: rotate(180deg); }
.vfd-slider__next { right: 20px; }
.vfd-hero--empty { background: radial-gradient(1200px 500px at 75% 30%, #2a3550 0%, transparent 60%), radial-gradient(900px 400px at 10% 90%, #3a1418 0%, transparent 60%), #0d0e10; }
.vfd-hero__intro { padding: 110px 16px 130px; max-width: calc(var(--vfd-container) + 32px); }
.vfd-hero__intro h1 { font-size: clamp(32px, 5vw, 56px); max-width: 720px; }
.vfd-hero__intro p { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 560px; }
.vfd-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Feature boxes ---------- */
.vfd-feats { position: relative; z-index: 3; padding: 32px 0 0; }
.vfd-feats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vfd-feat { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border-radius: var(--vfd-radius); box-shadow: var(--vfd-shadow); transition: transform .2s, box-shadow .2s; }
a.vfd-feat:hover { transform: translateY(-3px); box-shadow: var(--vfd-shadow-lg); color: inherit; }
.vfd-feat__ico { flex: 0 0 auto; color: var(--vfd-dark); }
.vfd-feat__body strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 4px; }
.vfd-feat__body span { display: block; font-size: 13px; color: var(--vfd-muted); line-height: 1.5; }

/* ---------- Car grid ---------- */
.vfd-cars__grid { --cols: 3; --gap: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px var(--gap); }
.vfd-cars__grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.vfd-car { text-align: center; padding: 8px 8px 16px; border-radius: var(--vfd-radius); transition: background .2s, box-shadow .2s; }
.vfd-car:hover { background: #fff; box-shadow: var(--vfd-shadow-lg); }
.vfd-car__img { display: block; aspect-ratio: 16 / 9; margin-bottom: 14px; }
.vfd-car__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.vfd-car:hover .vfd-car__img img { transform: scale(1.05); }
.vfd-car__name { font-size: 17px; margin-bottom: 4px; }
.vfd-car__tag { font-size: 13px; color: var(--vfd-muted); margin-bottom: 4px; }
.vfd-car__price { font-weight: 700; color: var(--vfd-accent); margin: 0; }
.vfd-car__cta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.vfd-ph { width: 100%; height: 100%; object-fit: contain; opacity: .9; }
.vfd-ph--post { object-fit: cover; background: var(--vfd-soft); }

/* ---------- Split blocks ---------- */
.vfd-about { padding-top: 24px; }
.vfd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vfd-split + .vfd-split { margin-top: 56px; }
.vfd-split--rev .vfd-split__text { order: 2; }
.vfd-split__text p { color: #3c3c43; }
.vfd-split__media img, .vfd-media-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--vfd-radius); }
.vfd-media-ph { background: linear-gradient(135deg, #eceef3, #f8f8fa); display: grid; place-items: center; padding: 10%; }

/* ---------- Banner ---------- */
.vfd-banner { position: relative; min-height: 460px; display: flex; align-items: center; color: #fff; text-align: center; background: #1b1d22 center / cover no-repeat; }
.vfd-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)); }
.vfd-banner__in { position: relative; }
.vfd-banner h2 { font-size: clamp(28px, 4vw, 44px); }
.vfd-banner p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 18px; }

/* ---------- Discovery tiles ---------- */
.vfd-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.vfd-tile { position: relative; overflow: hidden; border-radius: var(--vfd-radius); background: linear-gradient(135deg, #2b2f38, #14161a); color: #fff; display: block; }
.vfd-tile--1 { grid-row: 1 / 3; }
.vfd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vfd-tile:hover img { transform: scale(1.06); }
.vfd-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .7)); }
.vfd-tile__cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; }
.vfd-tile__cap strong { display: block; text-transform: uppercase; font-size: 15px; line-height: 1.35; }
.vfd-tile--1 .vfd-tile__cap strong { font-size: 18px; max-width: 420px; }
.vfd-tile__cap small { font-size: 12px; font-weight: 600; opacity: .85; }
.vfd-tile:hover { color: #fff; }

/* ---------- News ---------- */
.vfd-news { padding-top: 24px; }
.vfd-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.vfd-sechead .vfd-h2 { margin: 0; }
.vfd-news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vfd-news__grid--archive { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vfd-post__img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: var(--vfd-soft); }
.vfd-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vfd-post:hover .vfd-post__img img { transform: scale(1.05); }
.vfd-post__title { font-size: 15.5px; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vfd-post__date { font-size: 12px; color: var(--vfd-muted); display: block; margin-bottom: 6px; }
.vfd-post__ex { font-size: 13px; color: var(--vfd-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Videos ---------- */
.vfd-videos { background: var(--vfd-soft); }
.vfd-videos__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.vfd-videos__grid--1 { grid-template-columns: 1fr; grid-template-rows: auto; max-width: 860px; margin: 0 auto; }
.vfd-videos__grid--2, .vfd-videos__grid--3 { grid-template-columns: 2fr 1fr; }
.vfd-video { position: relative; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
.vfd-video--big { grid-row: 1 / 3; aspect-ratio: auto; min-height: 100%; }
.vfd-videos__grid--1 .vfd-video--big { aspect-ratio: 16 / 9; grid-row: auto; }
.vfd-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s, opacity .3s; }
.vfd-video:hover img { transform: scale(1.05); opacity: 1; }
.vfd-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; color: #fff; display: grid; place-items: center; background: rgba(0, 0, 0, .25); padding-left: 3px; }

/* ---------- Footer ---------- */
.vfd-footer { background: linear-gradient(120deg, #eaf3f8 0%, #f1eef8 45%, #fbeef0 100%); padding: 48px 0 0; font-size: 14px; }
.vfd-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; }
.vfd-footer__logo { margin-bottom: 18px; }
.vfd-footer__logo img { max-height: 48px; width: auto; filter: invert(1) brightness(.15); }
.vfd-footer__logo .vfd-footer__logo--own img { filter: none; }
.vfd-footer h3 { font-size: 15px; margin-bottom: 12px; }
.vfd-footer__col p { color: #3c3c43; }
.vfd-footer__info { list-style: none; padding: 0; margin: 0 0 16px; }
.vfd-footer__info li { margin-bottom: 6px; }
.vfd-socials { display: flex; gap: 8px; }
.vfd-soc { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--vfd-dark); }
.vfd-soc-facebook { background: #3b5998; }
.vfd-soc-youtube { background: #e62117; }
.vfd-soc-phone { background: #34b45a; }
.vfd-soc:hover { color: #fff; transform: translateY(-2px); }
.vfd-newsletter input[type=text] { width: 100%; height: 44px; border: 1px solid var(--vfd-line); border-radius: 10px; padding: 0 14px; font: inherit; margin-bottom: 10px; background: #fff; }
.vfd-newsletter .vfd-btn { border-radius: 10px; }
.vfd-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(0, 0, 0, .08); margin-top: 36px; padding: 16px 0 90px; font-size: 13px; }
.vfd-footmenu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.vfd-copy { margin: 0; }

/* ---------- Floating buttons ---------- */
.vfd-float { position: fixed; left: 16px; bottom: 18px; z-index: 800; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.vfd-float__zalo { width: 54px; height: 54px; border-radius: 50%; background: #0068ff; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; box-shadow: 0 0 0 0 rgba(0, 104, 255, .5); animation: vfd-pulse-b 2s infinite; }
.vfd-float__zalo span { background: #fff; color: #0068ff; padding: 3px 6px; border-radius: 8px; line-height: 1; }
.vfd-float__zalo:hover { color: #fff; }
.vfd-float__call { display: flex; align-items: center; height: 46px; background: var(--vfd-accent); color: #fff; border-radius: 999px; padding: 0 18px 0 4px; box-shadow: 0 6px 18px rgba(227, 6, 19, .35); }
.vfd-float__call:hover { color: #fff; }
.vfd-float__ring { width: 46px; height: 46px; margin: 0 8px 0 -8px; border-radius: 50%; background: var(--vfd-accent); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(227, 6, 19, .55); animation: vfd-pulse-r 1.6s infinite; }
.vfd-float__ring svg { animation: vfd-shake 1.6s infinite; }
.vfd-float__call b { font-size: 15px; letter-spacing: .02em; }
@keyframes vfd-pulse-r { 70% { box-shadow: 0 0 0 14px rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }
@keyframes vfd-pulse-b { 70% { box-shadow: 0 0 0 14px rgba(0, 104, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); } }
@keyframes vfd-shake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.vfd-totop { position: fixed; right: 16px; bottom: 20px; z-index: 800; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--vfd-dark); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.vfd-totop.is-show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Forms ---------- */
.vfd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.vfd-field { margin-bottom: 14px; }
.vfd-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.vfd-field input, .vfd-field select, .vfd-field textarea { width: 100%; min-height: 44px; border: 1px solid #dcdce0; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 14px; background: #fff; color: var(--vfd-text); transition: border-color .2s, box-shadow .2s; }
.vfd-field textarea { min-height: 100px; resize: vertical; }
.vfd-field input:focus, .vfd-field select:focus, .vfd-field textarea:focus { outline: none; border-color: var(--vfd-dark); box-shadow: 0 0 0 3px rgba(17, 18, 20, .08); }
.vfd-field input[type=range] { padding: 0; border: 0; min-height: 28px; accent-color: var(--vfd-accent); box-shadow: none; }
.vfd-form .vfd-btn { border-radius: 10px; }
.vfd-form-msg { font-size: 13.5px; margin-top: 10px; min-height: 1em; }
.vfd-form-msg.is-ok { color: #138a36; font-weight: 600; }
.vfd-form-msg.is-err { color: var(--vfd-accent); font-weight: 600; }
.vfd-btn.is-loading { position: relative; color: transparent !important; }
.vfd-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; animation: vfd-spin .7s linear infinite; }
@keyframes vfd-spin { to { transform: rotate(360deg); } }
.vfd-toast { position: fixed; left: 50%; top: 24px; z-index: 10000; transform: translate(-50%, -20px); opacity: 0; background: #138a36; color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--vfd-shadow-lg); transition: .3s; font-weight: 600; }
.vfd-toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Modal & lightbox ---------- */
.vfd-modal__box { position: absolute; left: 50%; top: 50%; width: min(440px, 92vw); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px; transform: translate(-50%, -46%); opacity: 0; transition: .25s; }
.vfd-modal.is-open .vfd-modal__box { transform: translate(-50%, -50%); opacity: 1; }
.vfd-modal__x { position: absolute; top: 10px; right: 10px; }
.vfd-modal__box h3 { font-size: 22px; margin-bottom: 4px; padding-right: 30px; }
.vfd-modal__sub { font-size: 13.5px; color: var(--vfd-muted); }
.vfd-modal .vfd-btn { width: 100%; }
.vfd-lightbox__box { position: absolute; left: 50%; top: 50%; width: min(1000px, 94vw); transform: translate(-50%, -50%); }
.vfd-lightbox__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vfd-lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.vfd-lightbox__x { position: absolute; top: -44px; right: -6px; color: #fff; }

/* ---------- Inner pages ---------- */
.vfd-pagehead { background: var(--vfd-soft); padding: 40px 0 34px; }
.vfd-pagehead h1 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.vfd-pagehead p { margin: 8px 0 0; color: var(--vfd-muted); }
.vfd-page { padding-top: 36px; padding-bottom: 64px; }
.vfd-bc { font-size: 13px; color: var(--vfd-muted); padding: 18px 0 10px; }
.vfd-bc a:hover { color: var(--vfd-accent); }
.vfd-bc__sep { margin: 0 6px; opacity: .5; }

.vfd-content { font-size: 15.5px; line-height: 1.75; }
.vfd-content > * { max-width: 100%; }
.vfd-content h2 { font-size: 24px; margin-top: 1.6em; }
.vfd-content h3 { font-size: 19px; margin-top: 1.4em; }
.vfd-content img { border-radius: 10px; }
.vfd-content a { color: var(--vfd-accent); text-decoration: underline; text-underline-offset: 2px; }
.vfd-content figure { margin: 1.5em 0; }
.vfd-content figcaption { font-size: 13px; color: var(--vfd-muted); text-align: center; margin-top: 6px; }
.vfd-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14px; }
.vfd-content th, .vfd-content td { border: 1px solid var(--vfd-line); padding: 8px 12px; text-align: left; }
.vfd-content thead th { background: var(--vfd-dark); color: #fff; border-color: var(--vfd-dark); font-weight: 600; }
.vfd-content tbody tr:nth-child(even) td { background: var(--vfd-soft); }
.vfd-content .wp-block-table { overflow-x: auto; }
.vfd-content .vfd-pricetable { margin: 0; font-size: 14.5px; }
.vfd-content .vfd-pricetable th, .vfd-content .vfd-pricetable td { border-width: 0; border-top: 1px solid var(--vfd-line); }
.vfd-content .vfd-pricetable tbody tr td { background: #fff; }
.vfd-content .vfd-pricetable-wrap--inline .vfd-note { font-size: 13px; color: var(--vfd-muted); margin-top: 8px; }
.vfd-content .vfd-btn { text-decoration: none; }
.vfd-content blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--vfd-accent); color: #3c3c43; }
.vfd-content .wp-block-columns { gap: 24px; }
.alignwide { width: min(1300px, 100vw - 32px); margin-left: 50%; transform: translateX(-50%); max-width: none !important; }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none !important; }

.vfd-formpage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.vfd-dealer { background: var(--vfd-soft); border-radius: var(--vfd-radius); padding: 22px 24px; margin-top: 18px; }
.vfd-dealer h3 { font-size: 18px; }
.vfd-dealer ul { list-style: none; padding: 0; margin: 0; }
.vfd-dealer li { display: flex; gap: 10px; margin: 10px 0; font-size: 14.5px; }
.vfd-dealer li svg { flex: 0 0 auto; margin-top: 2px; color: var(--vfd-accent); }
.vfd-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Single post */
.vfd-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-bottom: 64px; }
.vfd-single__thumb { margin: 18px 0 24px; }
.vfd-single__thumb img { width: 100%; border-radius: var(--vfd-radius); }
.vfd-single__side { padding-top: 60px; }
.vfd-single__side .widget { margin-bottom: 28px; }
.widget-title { font-size: 17px; padding-bottom: 10px; border-bottom: 2px solid var(--vfd-dark); }
.vfd-side-posts { list-style: none; padding: 0; margin: 0; }
.vfd-side-posts li { margin-bottom: 14px; }
.vfd-side-posts a { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
.vfd-side-posts img { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.vfd-side-form { background: var(--vfd-soft); padding: 20px; border-radius: var(--vfd-radius); }
.vfd-side-form .vfd-btn { width: 100%; }
.vfd-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--vfd-soft); border-radius: var(--vfd-radius); padding: 18px 22px; margin: 32px 0; }
.vfd-inline-cta p { margin: 0; }
.vfd-tags a { display: inline-block; font-size: 12.5px; background: var(--vfd-soft); border-radius: 999px; padding: 4px 12px; margin: 0 6px 6px 0; }
.vfd-pagination .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.vfd-pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--vfd-line); font-weight: 600; padding: 0 10px; }
.vfd-pagination .current { background: var(--vfd-dark); color: #fff; border-color: var(--vfd-dark); }
.vfd-empty { text-align: center; max-width: 480px; margin: 0 auto; }
.vfd-404 { padding: 100px 0; }
.vfd-404__code { font-size: 96px; font-weight: 800; margin: 0; line-height: 1; color: var(--vfd-accent); }
.vfd-404__form { max-width: 420px; margin: 24px auto; }
.vfd-comments { margin-top: 40px; }
.vfd-comment-list { list-style: none; padding: 0; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; border: 1px solid #dcdce0; border-radius: 10px; padding: 10px 14px; font: inherit; }
.comment-form .submit { background: var(--vfd-dark); color: #fff; border: 0; border-radius: 999px; height: 44px; padding: 0 24px; font-weight: 600; cursor: pointer; }

/* ---------- Car detail ---------- */
.vfd-cardetail .vfd-h1 { margin-top: 4px; }
.vfd-versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 56px; }
.vfd-versions--1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.vfd-versions--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.vfd-versions--4 { grid-template-columns: repeat(4, 1fr); }
.vfd-version { text-align: center; padding: 10px 10px 20px; border-radius: var(--vfd-radius); transition: box-shadow .2s; }
.vfd-version:hover { box-shadow: var(--vfd-shadow-lg); }
.vfd-version__img { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.vfd-version__img img { width: 100%; height: 100%; object-fit: contain; }
.vfd-version h3 { font-size: 20px; margin-bottom: 8px; }
.vfd-version__price { margin: 0 0 4px; font-size: 14px; }
.vfd-version__price b { color: var(--vfd-accent); font-size: 16px; }
.vfd-version__note { font-size: 13.5px; margin: 6px 0 0; }
.vfd-version__cta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.vfd-colors { margin-bottom: 56px; }
.vfd-colors__in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.vfd-colors__stage { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at 50% 85%, #e9eaee 0%, #fff 70%); border-radius: var(--vfd-radius); overflow: hidden; }
.vfd-colors__img { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; display: grid; place-items: center; }
.vfd-colors__img.is-active { opacity: 1; }
.vfd-colors__img img { width: 100%; height: 100%; object-fit: contain; }
.vfd-colors__pick > p:first-child { font-weight: 600; }
.vfd-colors__swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.vfd-swatch { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .12); background: var(--sw); padding: 0; position: relative; transition: transform .15s; }
.vfd-swatch:hover { transform: scale(1.06); }
.vfd-swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vfd-dark); }
.vfd-colors__name { font-size: 14px; }

.vfd-specs { margin-bottom: 48px; }
.vfd-specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vfd-spec { background: var(--vfd-soft); border-radius: var(--vfd-radius); padding: 22px 20px; }
.vfd-spec strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.vfd-spec span { font-size: 13.5px; color: var(--vfd-muted); }
.vfd-content--car { padding-bottom: 24px; }
.vfd-content--car .wp-block-image img { width: 100%; }

.vfd-quote { background: var(--vfd-dark); color: #fff; padding: 56px 0; }
.vfd-quote__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vfd-quote h2 { font-size: clamp(24px, 3vw, 32px); }
.vfd-quote p { color: rgba(255, 255, 255, .78); }
.vfd-quote__hot { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.vfd-quote__hot a { color: #fff; font-weight: 700; }
.vfd-quote__form { background: #fff; color: var(--vfd-text); border-radius: 16px; padding: 26px; }
.vfd-quote__form .vfd-btn { width: 100%; }

/* ---------- Price table ---------- */
.vfd-pricetable-wrap { overflow-x: auto; margin: 24px 0; }
.vfd-pricetable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; border: 1px solid var(--vfd-line); border-radius: var(--vfd-radius); overflow: hidden; }
.vfd-pricetable thead th { background: var(--vfd-dark); color: #fff; text-align: left; padding: 14px 16px; font-weight: 600; }
.vfd-pricetable td { padding: 12px 16px; border-top: 1px solid var(--vfd-line); }
.vfd-pricetable__car th { text-align: left; background: var(--vfd-soft); padding: 12px 16px; border-top: 1px solid var(--vfd-line); font-size: 16px; }
.vfd-pricetable__car small { font-weight: 400; color: var(--vfd-muted); font-size: 12.5px; margin-left: 8px; }
.vfd-pricetable__p { font-weight: 700; color: var(--vfd-accent); white-space: nowrap; }
.vfd-pricetable td:last-child { text-align: right; }

/* ---------- Installment calculator ---------- */
.vfd-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 20px 0 40px; }
.vfd-calc__result { background: var(--vfd-soft); border-radius: var(--vfd-radius); padding: 24px; }
.vfd-calc__result dl { margin: 0 0 14px; }
.vfd-calc__result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #d6d6db; }
.vfd-calc__result dt { color: var(--vfd-muted); }
.vfd-calc__result dd { margin: 0; font-weight: 700; }
.vfd-calc__result .is-main dd { color: var(--vfd-accent); font-size: 22px; }
.vfd-calc__result .is-main dt { color: var(--vfd-text); font-weight: 600; align-self: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.vfd-menu > li > a { padding: 10px 7px; font-size: 13.5px; }
	.vfd-hotbtn span { display: none; }
	.vfd-hotbtn { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 960px) {
	:root { --vfd-header-h: 64px; }
	.vfd-topbar { display: none; }
	.vfd-nav { display: none; }
	.vfd-burger { display: inline-flex; }
	.vfd-header__in { gap: 12px; }
	.vfd-hotbtn { margin-left: auto; width: auto; padding: 0 14px; }
	.vfd-hotbtn span { display: inline; }
	.vfd-feats__grid { grid-template-columns: repeat(2, 1fr); }
	.vfd-cars__grid { --cols: 2; --gap: 16px; row-gap: 24px; }
	.vfd-news__grid, .vfd-news__grid--archive { grid-template-columns: repeat(2, 1fr); }
	.vfd-split { grid-template-columns: 1fr; gap: 24px; }
	.vfd-split--rev .vfd-split__text { order: 0; }
	.vfd-tiles { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.vfd-tile--1 { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16 / 9; }
	.vfd-tile--2, .vfd-tile--3 { aspect-ratio: 4 / 3; }
	.vfd-footer__grid { grid-template-columns: 1fr 1fr; }
	.vfd-footer__grid > :first-child { grid-column: 1 / 3; }
	.vfd-formpage, .vfd-quote__in, .vfd-calc, .vfd-colors__in { grid-template-columns: 1fr; gap: 28px; }
	.vfd-single { grid-template-columns: 1fr; }
	.vfd-single__side { padding-top: 0; }
	.vfd-versions, .vfd-versions--4 { grid-template-columns: repeat(2, 1fr); }
	.vfd-specs__grid { grid-template-columns: repeat(2, 1fr); }
	.vfd-slider { aspect-ratio: 16 / 9; }
}
@media (max-width: 782px) {
	.admin-bar .vfd-header { top: 46px; }
}
@media (max-width: 600px) {
	.vfd-car__cta { gap: 6px; }
	.vfd-car__cta .vfd-btn { height: 32px; padding: 0 10px; font-size: 11px; }
	.vfd-car__cta button { display: none; }
	body { font-size: 14.5px; }
	.vfd-section { padding: 44px 0; }
	.vfd-hotbtn { display: none; }
	.vfd-burger { margin-left: auto; }
	.vfd-feats { padding-top: 20px; }
	.vfd-feats__grid { gap: 10px; }
	.vfd-feat { flex-direction: column; gap: 10px; padding: 14px; }
	.vfd-cars__grid { --gap: 10px; row-gap: 20px; }
	.vfd-car { padding: 4px 2px 10px; }
	.vfd-car__name { font-size: 15px; }
	.vfd-car__tag { font-size: 12px; }
	.vfd-car__price { font-size: 13.5px; }
	.vfd-news__grid, .vfd-news__grid--archive { grid-template-columns: 1fr; }
	.vfd-videos__grid, .vfd-videos__grid--2, .vfd-videos__grid--3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.vfd-video--big { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16 / 9; }
	.vfd-banner { min-height: 340px; }
	.vfd-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.vfd-footer__grid > :first-child { grid-column: auto; }
	.vfd-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 140px; }
	.vfd-versions, .vfd-versions--2, .vfd-versions--4 { grid-template-columns: 1fr; }
	.vfd-specs__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.vfd-spec strong { font-size: 21px; }
	.vfd-inline-cta { flex-direction: column; align-items: flex-start; }
	.vfd-card { padding: 20px; }
	.vfd-float__call b { font-size: 14px; }
	.vfd-hero__intro { padding: 70px 16px 80px; }
	/* Price table as cards */
	.vfd-pricetable, .vfd-pricetable tbody, .vfd-pricetable tr, .vfd-pricetable td { display: block; width: 100%; }
	.vfd-pricetable { border: 0; }
	.vfd-pricetable thead { display: none; }
	.vfd-pricetable__car th { display: block; border-radius: 10px 10px 0 0; margin-top: 14px; }
	.vfd-pricetable tbody tr:not(.vfd-pricetable__car) { border: 1px solid var(--vfd-line); border-top: 0; padding: 6px 0; }
	.vfd-pricetable td { border: 0; padding: 5px 14px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
	.vfd-pricetable td::before { content: attr(data-th); font-weight: 600; color: var(--vfd-muted); text-align: left; }
	.vfd-pricetable td:last-child { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
