:root {
  --vf-surface: #f8f9fa;
  --vf-surface-low: #f3f4f5;
  --vf-surface-card: #ffffff;
  --vf-surface-strong: #e7e8e9;
  --vf-text: #191c1d;
  --vf-text-muted: #424751;
  --vf-outline: #c2c6d3;
  --vf-blue: #0055a5;
  --vf-blue-dark: #003e7b;
  --vf-cyan: #00b2ff;
  --vf-black: #000000;
  --vf-radius: 8px;
  --vf-radius-lg: 16px;
  --vf-shadow: 0 20px 40px rgba(0, 0, 0, .06);
  --vf-shadow-hover: 0 26px 54px rgba(0, 62, 123, .14);
}

/* Product detail landing layout */
.vf-product-detail-page {
  background: #f2f3f5;
  padding: 0 0 56px;
  color: #07131f;
}

.vf-product-detail-container {
  width: min(100% - 48px, 1120px);
  margin-left: auto;
  margin-right: auto;
}

.vf-product-detail-hero {
  position: relative;
  isolation: isolate;
  height: clamp(380px, 44vw, 580px);
  overflow: hidden;
  background: #07131f;
  color: #fff;
}

/* Background image presentation — mirrors the Slider feature's responsive
   sizing + slow zoom treatment (see .vf-hero-slider / .vf-hero-slide__image).
   Hiệu ứng cụ thể (zoom-out mặc định / zoom-in / none) được chọn trong admin
   Hero Banner, mục "4. Bố cục chữ và lớp phủ ảnh" → "Hiệu ứng ảnh nền". */
@keyframes vf-hero-bg-zoom-out {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes vf-hero-bg-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Hero banner block (admin-managed): break out of its parent container so it spans the full viewport width, like the page's main hero. Width/offset are computed in JS (see _model_hero_banner.php) because the block can be nested at arbitrary depths inside narrower layout containers. */
.vf-hero-banner-block {
  position: relative;
  box-sizing: border-box;
  height: clamp(380px, 44vw, 580px);
  overflow: hidden;
  background: #07131f;
}

/* Background image inside managed hero banner block.
   Selector also matches the <picture><img> wrapper used for the mobile-image
   swap (<source media="(max-width:767px)">), since the img there is no longer
   a direct child of .vf-hero-banner-block. */
.vf-hero-banner-block > img,
.vf-hero-banner-block > picture,
.vf-hero-banner-block__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vf-hero-banner-block > img,
.vf-hero-banner-block > picture > img,
.vf-hero-banner-block__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
}

.vf-hero-banner-block--image-zoom-out > img,
.vf-hero-banner-block--image-zoom-out > picture > img,
.vf-hero-banner-block--image-zoom-out > .vf-hero-banner-block__video {
  animation: vf-hero-bg-zoom-out 9s ease-out forwards;
}

.vf-hero-banner-block--image-zoom-in > img,
.vf-hero-banner-block--image-zoom-in > picture > img,
.vf-hero-banner-block--image-zoom-in > .vf-hero-banner-block__video {
  animation: vf-hero-bg-zoom-in 9s ease-out forwards;
}

.vf-hero-banner-block--image-none > img,
.vf-hero-banner-block--image-none > picture > img,
.vf-hero-banner-block--image-none > .vf-hero-banner-block__video {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .vf-hero-banner-block--image-zoom-out > img,
  .vf-hero-banner-block--image-zoom-out > picture > img,
  .vf-hero-banner-block--image-zoom-out > .vf-hero-banner-block__video,
  .vf-hero-banner-block--image-zoom-in > img,
  .vf-hero-banner-block--image-zoom-in > picture > img,
  .vf-hero-banner-block--image-zoom-in > .vf-hero-banner-block__video {
    animation: none;
  }
}

/* Overlay shade layer */
.vf-hero-banner-block .vf-product-detail-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Content block — absolutely positioned, z above overlay */
.vf-hero-banner-block__content {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
}

/* Logo above heading */
.vf-hb-logo {
  margin-bottom: 10px;
}

/* Heading & text inside managed hero banner */
.vf-hb-heading {
  line-height: 1.1;
  letter-spacing: -.01em;
}

.vf-hb-desc,
.vf-hb-body {
  line-height: 1.5;
}

/* Promo box */
.vf-hb-promo__list {
  list-style: disc;
}

/* Responsive: on narrow screens collapse to full-width stacked layout */
@media (max-width: 680px) {
  /* NOTE: no "background" here on purpose. The dark scrim is already drawn
     full-bleed (full width + full image height) by .vf-product-detail-hero__shade
     just behind this content block. Adding a second gradient sized to this
     block's own (auto) height made it look like a small dark box floating on
     the image instead of one smooth shade across the whole banner. */
  .vf-hero-banner-block__content {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    max-width: 100% !important;
    padding: 16px;
  }
}

.vf-product-detail-hero > img,
.vf-product-final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vf-product-detail-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 15, 31, .84) 0%, rgba(0, 25, 48, .52) 45%, rgba(0, 0, 0, .12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 45%);
}

.vf-product-detail-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: clamp(380px, 44vw, 580px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 54px;
}

.vf-product-detail-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vf-product-detail-hero p {
  max-width: 610px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.55;
}

.vf-product-detail-hero__price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 24px;
  color: #fff;
}

.vf-product-detail-hero__price span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.vf-product-detail-hero__price strong {
  font-size: inherit;
  font-weight: 900;
}

.vf-product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vf-product-detail-btn {
  display: inline-flex;
  min-width: 164px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid #0057b8;
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.vf-product-detail-btn:hover,
.vf-product-detail-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.vf-product-detail-btn--primary {
  background: #0057b8;
  color: #fff;
}

.vf-product-detail-btn--ghost {
  background: rgba(0, 0, 0, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .9);
}

.vf-product-detail-btn--light {
  background: #fff;
  border-color: #fff;
  color: #07131f;
}

.vf-product-detail-btn--ghost-light {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.vf-product-detail-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.vf-product-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 46px;
  align-items: center;
}

.vf-product-gallery-panel {
  position: relative;
}

.vf-product-gallery-panel > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(7, 19, 31, .14);
}

.vf-product-gallery-panel > span {
  position: absolute;
  right: 22px;
  bottom: 76px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0057b8;
  font-size: 12px;
  font-weight: 800;
}

.vf-product-color-row {
  margin-top: 22px;
}

.vf-product-color-row p {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.vf-product-color-row i {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border: 1px solid rgba(7, 19, 31, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
}

.vf-product-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.vf-product-metric-grid div {
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e9ef;
}

.vf-product-metric-grid span {
  display: block;
  margin-bottom: 8px;
  color: #748092;
  font-size: 10px;
  line-height: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.vf-product-metric-grid strong {
  color: #0057b8;
  font-size: 20px;
  line-height: 26px;
  font-weight: 900;
}

.vf-product-overview-copy h2,
.vf-product-detail-heading h2 {
  margin: 0 0 12px;
  color: #07131f;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
}

.vf-product-overview-copy p,
.vf-product-detail-heading p {
  margin: 0;
  color: #5b6470;
  font-size: 15px;
  line-height: 1.7;
}

.vf-product-overview-copy a {
  display: inline-flex;
  margin-top: 18px;
  color: #0057b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vf-product-design-band {
  background: #050505;
  color: #fff;
}

.vf-product-design-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 70px;
  align-items: center;
  min-height: 520px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.vf-product-design-grid h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.vf-product-design-grid p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}

.vf-product-design-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vf-product-design-grid li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 32px;
}

.vf-product-design-grid li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 3px solid #00a3ff;
}

.vf-product-design-grid li strong,
.vf-product-design-grid li span {
  display: block;
}

.vf-product-design-grid li strong {
  color: #fff;
  font-size: 17px;
}

.vf-product-design-grid li span {
  color: rgba(255, 255, 255, .68);
}

.vf-product-design-grid figure {
  margin: 0;
  padding: 14px;
  border: 10px solid rgba(255, 255, 255, .08);
}

.vf-product-design-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  filter: grayscale(.35);
}

.vf-product-detail-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.vf-product-detail-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.vf-product-detail-heading--center h2 {
  color: #0057b8;
  text-transform: uppercase;
}

.vf-product-detail-heading span {
  display: block;
  width: 44px;
  height: 2px;
  margin: 12px auto 0;
  background: #0057b8;
}

.vf-product-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vf-product-tech-card {
  min-height: 220px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e6ebf1;
}

.vf-product-tech-card--image,
.vf-product-tech-card--image-right {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.vf-product-tech-card--image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.vf-product-tech-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vf-product-tech-card i,
.vf-product-safety-grid i {
  color: #0057b8;
  font-size: 22px;
}

.vf-product-tech-card h3,
.vf-product-safety-grid h3 {
  margin: 16px 0 10px;
  color: #07131f;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.vf-product-tech-card p,
.vf-product-safety-grid p {
  margin: 0;
  color: #637083;
  font-size: 14px;
  line-height: 1.65;
}

.vf-product-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vf-product-safety-grid article {
  min-height: 150px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e6ebf1;
}

.vf-product-content {
  background: #fff;
  border: 0;
}

.vf-product-consult {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 42px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 19, 31, .14);
}

.vf-product-consult__advisor {
  display: flex;
  gap: 18px;
}

.vf-product-consult__advisor img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.vf-product-consult__advisor h3,
.vf-product-consult__form h2 {
  margin: 0 0 10px;
  color: #07131f;
  font-size: 20px;
  font-weight: 900;
}

.vf-product-consult__advisor p {
  margin: 0 0 12px;
  color: #5b6470;
  line-height: 1.6;
}

.vf-product-consult__advisor a {
  color: #07131f;
  font-weight: 900;
}

.vf-product-consult__fake-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.vf-product-consult__fake-fields span {
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  color: #7a8491;
  font-size: 12px;
}

.vf-product-consult__fake-fields span:last-child {
  grid-column: 1 / -1;
}

.vf-product-final-cta {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.vf-product-final-cta__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 13, 30, .78), rgba(0, 13, 30, .34));
}

.vf-product-final-cta > div:last-child {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 780px);
}

.vf-product-final-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
}

.vf-product-final-cta p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .88);
}

.vf-product-final-cta .vf-product-detail-actions {
  justify-content: center;
}

@media (max-width: 991px) {
  .vf-product-overview-panel,
  .vf-product-design-grid,
  .vf-product-consult {
    grid-template-columns: 1fr;
  }

  .vf-product-tech-grid,
  .vf-product-safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vf-product-tech-card--image,
  .vf-product-tech-card--image-right {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .vf-product-detail-container {
    width: min(100% - 28px, 1120px);
  }

  /* .vf-product-content's mobile padding:22px (further below) was meant for
     the simpler product layout, but the detail-page section also carries
     that class, doubling up with .vf-product-detail-container's own side
     margin above and making the gutter much wider than the homepage's.
     Two-class selector to win regardless of source order. */
  .vf-product-detail-container.vf-product-content {
    padding: 0;
  }

  .vf-product-detail-hero,
  .vf-product-detail-hero__content {
    min-height: 620px;
  }

  .vf-product-detail-hero h1 {
    font-size: 40px;
  }

  .vf-product-detail-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  /* Admin-managed content block titles (e.g. gallery "Thư viện hình ảnh")
     inherit the global h2{font-size:30px}; shrink to match the homepage's
     mobile section-title size. */
  .vf-product-layout-content h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .vf-product-metric-grid,
  .vf-product-tech-grid,
  .vf-product-safety-grid,
  .vf-product-consult__fake-fields {
    grid-template-columns: 1fr;
  }

  .vf-product-tech-card--image,
  .vf-product-tech-card--image-right {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .vf-product-consult {
    padding: 26px;
  }
}

body {
  background: var(--vf-surface);
  color: var(--vf-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--vf-blue-dark);
}

a:hover,
a:focus {
  color: var(--vf-blue);
  text-decoration: none;
}

.container {
  max-width: 1200px;
  width: 100%;
}

#header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.top-bar {
  background: var(--vf-blue-dark);
  color: #fff;
  border: 0;
}

.top-bar a {
  color: #fff !important;
}

.logo-banner {
  min-height: 72px;
  padding: 0;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(194, 198, 211, .72);
  backdrop-filter: blur(20px);
}

.logo-banner .left {
  display: flex;
  align-items: center;
  width: 18%;
  min-height: 72px;
  float: left;
}

.logo-banner .left .logo {
  max-height: 54px;
  width: auto;
}

.logo-banner .right {
  width: 82%;
  float: right;
}

.main-menu {
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
}

.navbar-default .navbar-nav > li > a {
  min-height: 48px;
  padding: 15px 15px 13px;
  color: var(--vf-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:hover {
  background: transparent;
  color: var(--vf-blue);
}

.dropdown-menu {
  border: 1px solid rgba(194, 198, 211, .8);
  border-radius: var(--vf-radius);
  box-shadow: var(--vf-shadow);
}

.vf-hero-slider {
  margin-top: 0;
  background: #07131f;
}

.vf-hero-slide__content h1 {
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.vf-hero-slide__cta,
.btn-success,
.btn-primary,
.button.primary,
.vehicle-call-to-action,
.vehicle-call-to-action:hover {
  background: var(--vf-blue);
  border-color: var(--vf-blue);
  color: #fff;
}

.vf-hero-slide__cta:hover,
.vf-hero-slide__cta:focus,
.btn-success:hover,
.btn-primary:hover,
.button.primary:hover {
  background: var(--vf-blue-dark);
  color: #fff;
}

.index-wrapper {
  background: var(--vf-surface);
  padding-top: 0;
}

.index-wrapper > .container {
  padding-top: 56px;
  padding-bottom: 64px;
}

.titl,
.section-title,
.header-title,
.page-title,
.model-block-title {
  display: block;
  margin: 0 0 28px;
  color: var(--vf-text);
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  border-left: 4px solid var(--vf-blue);
  padding-left: 14px;
}

.titl a,
.section-title a,
.header-title a,
.page-title a,
.model-block-title a {
  color: inherit;
}

.titl:after,
.section-title:after,
.header-title:after,
.page-title:after,
.model-block-title:after {
  content: none;
}

.section {
  margin-bottom: 64px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vf-outline) !important;
}

.section-head .title {
  margin: 0;
  background: transparent !important;
}

.section-head .title a {
  color: var(--vf-text) !important;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-content {
  margin-top: 0 !important;
}

.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.post-item,
.post-item-small,
.col-inner {
  border-radius: var(--vf-radius-lg);
}

.post-item {
  position: relative;
  min-height: 100%;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(194, 198, 211, .72);
  background: var(--vf-surface-card);
  box-shadow: var(--vf-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.post-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 85, 165, .28);
  box-shadow: var(--vf-shadow-hover);
}

.post-item-image {
  position: relative;
  overflow: hidden;
  background: var(--vf-surface-low);
}

.post-item-image img,
.image-cover img,
.row-flex img {
  display: block;
  width: 100%;
  height: auto;
}

.post-item .post-item-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}

.post-item:hover .post-item-image img {
  transform: scale(1.03);
}

.front-model-title,
.post-item-small .title,
.product-title {
  margin: 0;
  padding: 18px 18px 8px;
  color: var(--vf-text);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.front-model-title a,
.post-item-small .title a,
.product-title a {
  color: inherit;
}

.post-meta,
.small-post-meta,
.price-wrapper {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--vf-text-muted);
  font-size: 14px;
  line-height: 22px;
}

.front-model-price,
.price,
.woocommerce-Price-amount {
  color: var(--vf-blue);
  font-size: 18px;
  line-height: 26px;
  font-weight: 800;
}

.post-item-small {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(194, 198, 211, .72);
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .04);
}

.post-item-small .left {
  flex: 0 0 150px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--vf-surface-low);
}

.post-item-small .left img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-item-small .right {
  flex: 1;
  min-width: 0;
}

.post-item-small .title {
  display: block;
  padding: 2px 0 6px;
  font-size: 15px;
  line-height: 21px;
}

.post-item-small .small-post-meta {
  padding: 0;
  font-size: 13px;
}

.section-block-2 .col-inner {
  height: 100%;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(194, 198, 211, .72);
  background: #fff;
  box-shadow: var(--vf-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.section-block-2 .col-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--vf-shadow-hover);
}

.section-block-2 .image-cover {
  overflow: hidden;
  background: var(--vf-surface-low);
}

.section-block-2 .image-cover img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-block-2 .box-text {
  padding: 18px 18px 6px;
}

.button,
.vehicle-call-to-action a,
.btn,
.btn-success {
  border-radius: var(--vf-radius) !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px !important;
  border: 1px solid var(--vf-blue);
}

.button.secondary,
.button.is-outline {
  background: #fff !important;
  border-color: var(--vf-outline) !important;
  color: var(--vf-text) !important;
}

.button.secondary:hover,
.button.is-outline:hover {
  background: var(--vf-black) !important;
  border-color: var(--vf-black) !important;
  color: #fff !important;
}

.vehicle-call-to-action {
  display: inline-flex;
  float: none;
  margin: 6px 8px 6px 0;
  border-radius: var(--vf-radius);
}

.vehicle-call-to-action a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
}

.breadcrumb,
.page-breadcrumb {
  background: transparent;
  color: var(--vf-text-muted);
  font-size: 13px;
}

.modal-content {
  border: 0;
  border-radius: var(--vf-radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}

.form-control {
  border-radius: var(--vf-radius);
  border-color: var(--vf-outline);
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--vf-blue);
  box-shadow: 0 0 0 3px rgba(0, 85, 165, .12);
}

.footer-widgets,
#footer {
  background: #111827;
  color: #f0f1f2;
}

.footer-widget h2,
.footer-widget .title {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-widget a,
.footer-widget ul li a {
  color: rgba(255, 255, 255, .78);
}

.link_zalo,
.link_fb {
  z-index: 9999;
}

.hotline-mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  min-height: 60px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}

@media (max-width: 991px) {
  .logo-banner .left,
  .logo-banner .right {
    width: 100%;
    float: none;
  }

  .logo-banner .left {
    justify-content: center;
  }

  .navbar-default .navbar-nav > li > a {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }

  .index-wrapper > .container {
    padding-top: 36px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .titl,
  .section-title,
  .header-title,
  .page-title,
  .model-block-title {
    font-size: 28px;
    line-height: 36px;
  }

  .section {
    margin-bottom: 40px;
  }

  .section-head {
    display: block;
  }

  .post-item-small {
    display: block;
  }

  .post-item-small .left {
    width: 100%;
    margin-bottom: 12px;
  }

  .front-model-title,
  .product-title {
    font-size: 16px;
    line-height: 23px;
  }
}

/* VinFast homepage from supplied design reference */
#header.navbar-fixed-top,
#header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 58px;
  height: 58px;
  background: rgba(248, 249, 250, .82);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .25s ease;
}

/* Desktop: header cao 64px đồng bộ với thanh menu ở mọi trang
   (mobile giữ 58px vì dùng .mobile-nav-container riêng) */
@media (min-width: 992px) {
  #header.navbar-fixed-top,
  #header {
    min-height: 64px;
    height: 64px;
  }
}

/* On non-homepage pages, when a "Menu ngang sticky" block takes over the
   top slot while scrolling down, the Main Menu slides up out of view. */
body:not(.vf-homepage-body) #header.vf-header-hidden {
  transform: translateY(-100%);
}

#header .top-bar,
#header .bn-header-mobile,
#header .ad-space,
#header [id*="ad"] {
  display: none !important;
}

/* .vf-design-nav (brand + full menu links + search) is the desktop header;
   .mobile-nav-container (hamburger + logo + search, opens #navMobile) is the
   mobile header. Below 991px .vf-design-nav__links is hidden anyway with no
   hamburger fallback of its own, so .vf-design-nav must fully hand off to
   .mobile-nav-container here instead of hiding it outright — otherwise the
   mobile menu and search buttons have nowhere to render. */
@media (min-width: 992px) {
  #header .mobile-nav-container {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #header .vf-design-nav {
    display: none !important;
  }
}

/* header-core.css sets .mobile-nav-search { display: none } unconditionally
   and only flips it to display:block inside its own @media (max-width: 991px)
   block — with no matching rule for desktop. That wrapper holds .search-form,
   so on desktop (>=992px) the search box's container never renders at all,
   regardless of the .open class the click handler toggles on .search-form.
   Force it visible at every width; .search-form's own display:none/.open
   toggle still controls whether the box itself is shown. */
.mobile-nav-search {
  display: block;
}

#header .logo-banner {
  min-height: 58px;
  height: 58px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#header .logo-banner .container,
#header .logo-banner .col-sm-12,
#header .logo-banner .row {
  height: 58px;
}

#header .logo-banner .left {
  position: absolute;
  left: 80px;
  top: 0;
  width: auto;
  min-height: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  line-height: 58px;
}

#header .logo-banner .left img {
  display: none;
}

#header .logo-banner .left a:after {
  content: "VinFast";
  color: var(--vf-blue);
  font-size: 20px;
  line-height: 58px;
  font-weight: 700;
  letter-spacing: 0;
}

#header .logo-banner .right {
  float: none;
  width: 100%;
  height: 58px;
}

#header .logo-banner .right > .pull-right {
  float: none !important;
  height: 58px;
}

#header .main-menu {
  min-height: 58px;
  height: 58px;
  background: transparent;
}

#header .main-menu .collapse {
  display: block;
  height: 58px !important;
  padding: 0;
}

#header .main-menu .row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
}

#header .navbar-nav {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#header .navbar-right {
  position: absolute;
  right: 80px;
  top: 0;
}

#header .navbar-default .navbar-nav > li > a {
  min-height: 48px;
  padding: 17px 18px 14px;
  color: #3e3f3f;
  font-size: 10px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#header .navbar-default .navbar-nav > .active > a,
#header .navbar-default .navbar-nav > .active > a:hover,
#header .navbar-default .navbar-nav > li > a:hover {
  color: var(--vf-blue);
  border-bottom: 2px solid var(--vf-blue);
}

#header .li-search > a {
  color: var(--vf-blue) !important;
  border-bottom: 0 !important;
}

.vf-design-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Đồng bộ mọi trang: thanh menu full width, nội dung căn theo mép
     .vf-home-container (min(100% - 160px, 1200px)) */
  width: 100%;
  height: 64px;
  padding: 0 max(80px, calc((100% - 1200px) / 2));
  margin: 0 auto;
}

.vf-design-nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 178px;
  height: 64px;
  color: var(--vf-blue);
  font-size: 18px;
  line-height: 64px;
  font-weight: 800;
  letter-spacing: 0;
}

.vf-design-nav__brand img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 220px;
  max-height: 40px;
  object-fit: contain;
}

.vf-design-nav__brand span {
  display: inline-block;
}

.vf-design-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.vf-design-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
}

.vf-design-nav__links a {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 64px;
  color: #101820;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vf-design-nav__item.has-submenu > a:after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.vf-design-nav__links a.is-active,
.vf-design-nav__links a:hover,
.vf-design-nav__links a:focus {
  color: var(--vf-blue);
  border-bottom: 0;
}

/* Gạch chân dạng pill giống trang chủ, áp dụng cho mọi trang */
.vf-design-nav__links a.is-active:after,
.vf-design-nav__links a:hover:after,
.vf-design-nav__links a:focus:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--vf-blue);
  transform: translateX(-50%);
}

.vf-design-nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  min-width: 280px;
  padding: 14px 0;
  border: 1px solid rgba(194, 198, 211, .62);
  border-radius: 6px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.vf-design-nav__item:hover .vf-design-nav__submenu,
.vf-design-nav__item:focus-within .vf-design-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.vf-design-nav__submenu a {
  display: flex;
  height: auto;
  min-height: 0;
  padding: 12px 28px;
  border-bottom: 0;
  color: var(--vf-text);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vf-design-nav__submenu a:hover,
.vf-design-nav__submenu a:focus {
  border-bottom: 0;
  background: #f1f6ff;
  color: var(--vf-blue);
}

.vf-design-nav__search {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #101820;
  line-height: 42px;
  text-align: center;
}

.vf-design-nav__search:hover,
.vf-design-nav__search:focus {
  background: rgba(0, 87, 184, .1);
  color: var(--vf-blue);
}

.vf-home {
  overflow: hidden;
  background: #fdfdfd;
  color: var(--vf-text);
}

.vf-home-container {
  width: min(100% - 160px, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.vf-home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(100vh, 760px);
  min-height: 680px;
  margin-top: 58px;
  overflow: hidden;
  background: #07131f;
  color: #fff;
}

/* ── Mũi tên cuộn xuống dưới slider trang chủ ───────────────────── */
/* Căn giữa theo chiều ngang màn hình (left:50% + translateX(-50%)) — phải
   bake translateX(-50%) vào CHÍNH keyframes vf-scrolldown-bounce bên dưới
   (không chỉ ở transform tĩnh), vì animation sẽ ghi đè toàn bộ giá trị
   transform ở mỗi khung hình, nếu không sẽ mất phần căn giữa khi animation
   chạy. */
.vf-home-hero__scrolldown {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
  cursor: pointer;
  text-decoration: none;
  animation: vf-scrolldown-bounce 2s ease-in-out infinite;
  transition: background-color .2s ease, border-color .2s ease, opacity .25s ease, visibility .25s ease;
}
.vf-home-hero__scrolldown:hover,
.vf-home-hero__scrolldown:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  color: #fff;
}
.vf-home-hero__scrolldown--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.vf-home-hero__scrolldown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
@keyframes vf-scrolldown-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (max-width: 767px) {
  .vf-home-hero__scrolldown {
    width: 34px;
    height: 34px;
    bottom: 14px;
  }
  .vf-home-hero__scrolldown-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Mũi tên cuộn xuống trên trang Sản phẩm ─────────────────────── */
/* Khác với bản trang chủ (đặt position:absolute trong banner), trang Sản
   phẩm không có một khối "hero" cố định để neo vào, nên dùng position:fixed
   và tự ẩn bằng JS khi người dùng đã cuộn xuống (xem car.php). Căn giữa
   ngang giống bản trang chủ — xem ghi chú translateX(-50%) ở trên. */
.vf-product-scrolldown {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 19, 31, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
  cursor: pointer;
  text-decoration: none;
  animation: vf-scrolldown-bounce 2s ease-in-out infinite;
  transition: background-color .2s ease, border-color .2s ease, opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.vf-product-scrolldown:hover,
.vf-product-scrolldown:focus {
  background: rgba(7, 19, 31, 0.75);
  border-color: #fff;
  color: #fff;
}
.vf-product-scrolldown.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}
.vf-product-scrolldown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
@media (max-width: 767px) {
  .vf-product-scrolldown {
    width: 34px;
    height: 34px;
    bottom: 76px;
  }
  .vf-product-scrolldown-icon svg {
    width: 18px;
    height: 18px;
  }
}

.vf-ford-slider__track,
.vf-ford-slide {
  position: absolute;
  inset: 0;
}

.vf-ford-slide {
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity var(--vf-slide-speed, .7s) ease, visibility var(--vf-slide-speed, .7s) ease, transform var(--vf-slide-speed, .7s) ease;
}

.vf-ford-slide--transition-slide {
  opacity: 1;
  transform: translateX(100%);
}

.vf-ford-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.vf-home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.055);
  transition: transform 7s ease;
}

.vf-home-hero__logo {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

.vf-ford-slide.is-active .vf-home-hero__image {
  transform: scale(1);
}

.vf-ford-slide--image-zoom-in .vf-home-hero__image {
  transform: scale(1);
}

.vf-ford-slide--image-zoom-in.is-active .vf-home-hero__image {
  transform: scale(1.08);
}

.vf-ford-slide--image-none .vf-home-hero__image,
.vf-ford-slide--image-none.is-active .vf-home-hero__image {
  transform: scale(1);
  transition: none;
}

.vf-home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 19, 38, .78) 0%, rgba(0, 24, 48, .52) 38%, rgba(0, 0, 0, .08) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 44%);
}

.vf-ford-slide--overlay-dark-left .vf-home-hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 19, 38, var(--vf-slide-overlay, .78)) 0%, rgba(0, 24, 48, var(--vf-slide-overlay, .58)) 38%, rgba(0, 0, 0, .08) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 44%);
}

.vf-ford-slide--overlay-dark-bottom .vf-home-hero__shade {
  background: linear-gradient(0deg, rgba(0, 15, 31, var(--vf-slide-overlay, .72)) 0%, rgba(0, 20, 40, var(--vf-slide-overlay, .44)) 58%, rgba(0, 0, 0, .08) 100%);
}

.vf-ford-slide--overlay-light-left .vf-home-hero__shade {
  background:
    linear-gradient(90deg,
      rgba(245, 240, 232, var(--vf-slide-overlay, .88)) 0%,
      rgba(245, 240, 232, .55) 40%,
      rgba(245, 240, 232, .12) 62%,
      rgba(245, 240, 232, 0)   78%);
}

.vf-ford-slide--overlay-soft-light .vf-home-hero__shade {
  background: linear-gradient(90deg, rgba(255, 255, 255, var(--vf-slide-overlay, .45)) 0%, rgba(255, 255, 255, .12) 58%, rgba(255, 255, 255, 0) 100%);
}

.vf-ford-slide--overlay-none .vf-home-hero__shade {
  display: none;
}

.vf-home-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(clamp(96px, 15vh, 148px) + var(--vf-content-bottom, 0px) - var(--vf-content-top, 0px));
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto;
  padding-top: 0;
  margin-left: var(--vf-content-left, 0px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease .2s, transform .55s ease .2s;
}

.vf-ford-slide--content-slide-left .vf-home-hero__content {
  transform: translateX(-28px);
}

.vf-ford-slide--content-fade .vf-home-hero__content {
  transform: none;
}

.vf-ford-slide.is-active .vf-home-hero__content {
  opacity: 1;
  transform: translateY(0);
}

.vf-ford-slide--pos-left-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0px) - var(--vf-content-bottom, 0px));
  bottom: auto;
  transform: translateY(calc(-50% + 24px));
}

.vf-ford-slide--pos-left-center.is-active .vf-home-hero__content {
  transform: translateY(-50%);
}

.vf-ford-slide--pos-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0px) - var(--vf-content-bottom, 0px));
  bottom: auto;
  align-items: center;
  text-align: center;
  transform: translateY(calc(-50% + 24px));
}

.vf-ford-slide--pos-center.is-active .vf-home-hero__content {
  transform: translateY(-50%);
}

.vf-ford-slide--pos-center .vf-home-hero__actions {
  justify-content: center;
}

.vf-ford-slide--pos-right-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0px) - var(--vf-content-bottom, 0px));
  bottom: auto;
  align-items: flex-end;
  text-align: right;
  transform: translateY(calc(-50% + 24px));
}

.vf-ford-slide--pos-right-center.is-active .vf-home-hero__content {
  transform: translateY(-50%);
}

.vf-ford-slide--pos-right-center .vf-home-hero__actions {
  justify-content: flex-end;
}

.vf-ford-slide--text-dark {
  color: #07131f;
}

.vf-ford-slide--text-dark .vf-ford-slide__eyebrow,
.vf-ford-slide--text-dark .vf-home-hero__content h1,
.vf-ford-slide--text-dark .vf-ford-slide__text {
  color: inherit;
  text-shadow: 0 10px 30px rgba(255, 255, 255, .34);
}

.vf-ford-slide__eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vf-home-hero__content h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--vf-title-font, inherit);
  font-size: min(var(--vf-title-size, 64px), 8vw);
  line-height: 1.05;
  font-weight: var(--vf-title-weight, 800);
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .32);
}

.vf-ford-slide__text {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .92);
  font-family: var(--vf-subtitle-font, inherit);
  font-size: min(var(--vf-subtitle-size, 21px), 3vw);
  font-weight: var(--vf-subtitle-weight, 400);
  line-height: 1.45;
}

.vf-home-hero__actions {
  display: flex;
  gap: 16px;
}

.vf-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.vf-home-btn--primary {
  /* --vf-btn-bg/--vf-btn-color duoc set qua inline style tu admin (Mau nen/Mau chu Nut chinh, neu admin co dat).
     Khong dat truc tiep "background:"/"color:" inline nua (xem ghi chu trong index.php) de cac rule :hover
     ben duoi van con "cua" de thang khi di chuot vao. */
  background: var(--vf-btn-bg, #0276b3);
  color: var(--vf-btn-color, #fff);
  border: 2px solid var(--vf-btn-bg, #0276b3);
}

.vf-home-btn--ghost {
  background: var(--vf-btn-bg, transparent);
  color: var(--vf-btn-color, #fff);
  border: 2px solid var(--vf-btn-bg, rgba(255, 255, 255, .9));
}

.vf-home-btn:hover,
.vf-home-btn:focus {
  /* --vf-btn-hover-bg/--vf-btn-hover-color duoc set qua inline style tu admin (Mau nen/Mau chu khi hover cua
     tung nut/slide). Khong co gia tri rieng thi fallback ve mau trang/xanh nhu truoc gio. */
  background: var(--vf-btn-hover-bg, #fff);
  border-color: var(--vf-btn-hover-bg, #fff);
  color: var(--vf-btn-hover-color, #0276b3);
  transform: translateY(-1px);
}

/* Rule tren co specificity thap hon block "body:has(.vf-home) .vf-home-btn--primary/--ghost" o duoi
   (vi rule do co them "body" + ".vf-home-btn--primary/ghost"), nen tren trang chu no se BI ghi de ngay
   ca khi dang hover - mau nen hover khong bao gio hien ra. Khai bao lai voi cung tien to "body:has(.vf-home)"
   de tang specificity, dam bao hover luon thang. */
body:has(.vf-home) .vf-home-btn:hover,
body:has(.vf-home) .vf-home-btn:focus {
  background: var(--vf-btn-hover-bg, #fff);
  border-color: var(--vf-btn-hover-bg, #fff);
  color: var(--vf-btn-hover-color, #0276b3);
}

.vf-ford-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 76px;
  margin-top: -38px;
  border: 0;
  background: rgba(0, 29, 55, .58);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.vf-ford-slider__arrow:hover,
.vf-ford-slider__arrow:focus {
  background: rgba(0, 118, 179, .95);
}

.vf-ford-slider__arrow:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.vf-ford-slider__arrow--prev {
  left: 0;
}

.vf-ford-slider__arrow--prev:before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.vf-ford-slider__arrow--next {
  right: 0;
}

.vf-ford-slider__arrow--next:before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.vf-ford-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 78px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: translateX(-50%);
}

.vf-ford-slider__dot {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.vf-ford-slider__dot.is-active {
  width: 66px;
  background: #fff;
}

/* ════════════════════════════════════════════════════════
   Homepage Hero Slider – v2 extra elements
   (body text, price block, promo box)
   ════════════════════════════════════════════════════════ */

/* ── Dark-text helper (for light-left overlay slides) ── */
.vf-ford-slide--text-dark .vf-ford-slide__body,
.vf-ford-slide--text-dark .vf-ford-slide__price,
.vf-ford-slide--text-dark .vf-ford-slide__promo {
  color: #1a1a1a;
}

/* ── Body paragraph ──────────────────────────────────── */
.vf-ford-slide__body {
  max-width: 520px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

/* ── Price block ─────────────────────────────────────── */
.vf-ford-slide__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 18px;
}

.vf-ford-slide__price-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .82;
  text-transform: uppercase;
}

.vf-ford-slide__price-value {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ── Promo box ───────────────────────────────────────── */
.vf-ford-slide__promo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 8px;
}

.vf-ford-slide__promo--outlined {
  background: rgba(255, 255, 255, .14);
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}

.vf-ford-slide__promo--filled {
  background: rgba(155, 27, 48, .88);
  border: 0;
}

/* Outlined variant on light-overlay slides */
.vf-ford-slide--text-dark .vf-ford-slide__promo--outlined {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(0, 0, 0, .18);
}

.vf-ford-slide__promo-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vf-ford-slide__promo--filled .vf-ford-slide__promo-title {
  color: #fff;
}

.vf-ford-slide__promo-list {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
}

.vf-ford-slide__promo--filled .vf-ford-slide__promo-list {
  color: rgba(255, 255, 255, .92);
}

.vf-home-section {
  padding-top: 26px;
  padding-bottom: 26px;
}

.vf-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.vf-home-section h2,
.vf-home-section__head h2 {
  margin: 0;
  color: var(--vf-text);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  border-left: 4px solid var(--vf-blue);
  padding-left: 14px;
}

.vf-home-section__head span {
  display: none;
}

.vf-home-section__head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: var(--vf-blue);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vf-home-section__head a::after {
  content: "\2192";
  font-weight: 400;
}

.vf-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.vf-model-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(225, 227, 228, .95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  transition: box-shadow .35s ease, transform .35s ease;
}

.vf-model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, .1);
}

.vf-model-card__media {
  display: block;
  height: 300px;
  overflow: hidden;
  background: #e7e8e9;
}

.vf-model-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.vf-model-card:hover .vf-model-card__media img {
  transform: scale(1.05);
}

.vf-model-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.vf-model-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.vf-model-card h3 {
  margin: 0;
  color: var(--vf-text);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0;
}

.vf-model-card h3 a {
  color: inherit;
}

.vf-model-card__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
  color: #313a46;
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}

.vf-model-card__price span {
  font-weight: 600;
  text-transform: uppercase;
}

.vf-model-card__price strong {
  display: inline;
  color: #0057b8;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.vf-model-card__segment {
  margin: 2px 0 0;
  color: #5f5e5e;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vf-model-card__specs {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 5px;
  padding-top: 18px;
  border-top: 1px solid #e1e3e4;
}

.vf-model-card__specs > div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.vf-model-card__spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f2f4f6;
  color: #0057b8;
  font-size: 14px;
}

.vf-model-card__spec-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vf-model-card__specs span {
  display: block;
  color: #5f5e5e;
  font-size: 10px;
  line-height: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vf-model-card__specs strong {
  display: block;
  margin-top: 3px;
  color: var(--vf-text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vf-model-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e1e3e4;
}

.vf-model-card__actions a {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #0057b8;
  background: #fff;
  color: #0057b8;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.vf-model-card__actions a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .28) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .45s ease;
  pointer-events: none;
}

.vf-model-card__actions a:first-child {
  background: #0057b8;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 87, 184, .18);
}

.vf-model-card__actions a:hover,
.vf-model-card__actions a:focus {
  background: #004a9f;
  border-color: #004a9f;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 87, 184, .24);
  transform: translateY(-2px);
  text-decoration: none;
}

.vf-model-card__actions a:hover::after,
.vf-model-card__actions a:focus::after {
  transform: translateX(120%);
}

.vf-offers {
  background: #f8f9fa;
}

.vf-offers h2 {
  margin-bottom: 32px;
}

.vf-offer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  min-height: 470px;
}

.vf-offer-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.vf-offer-card {
  position: relative;
  min-height: 223px;
  overflow: hidden;
  border-radius: 12px;
  background: #222;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
}

.vf-offer-card--large {
  min-height: 470px;
}

.vf-offer-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}

.vf-offer-card:hover img {
  transform: scale(1.04);
}

.vf-offer-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .56) 0%, rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .02) 100%);
}

.vf-offer-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
  color: #fff;
}

.vf-offer-card__content span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vf-blue);
  color: #fff;
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vf-offer-card__content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.vf-offer-card:not(.vf-offer-card--large) .vf-offer-card__content h3 {
  font-size: 19px;
  line-height: 25px;
}

.vf-offer-card__content h3 .vf-offer-card__title-link {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.vf-offer-card__content h3 .vf-offer-card__title-link:hover {
  text-decoration: underline;
}

.vf-offer-card__content p {
  max-width: 560px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 24px;
}

.vf-offer-card--large .vf-offer-card__content p {
  max-width: none;
}

.vf-offer-card:not(.vf-offer-card--large) .vf-offer-card__content p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 17px;
}

.vf-offer-card__content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 44px;
  border-radius: 4px;
  background: #fff;
  color: var(--vf-blue);
  font-size: 13px;
  font-weight: 700;
}

.vf-ecosystem {
  text-align: left;
}

.vf-ecosystem h2 {
  margin-bottom: 10px;
}

.vf-ecosystem__intro {
  max-width: 720px;
  margin: 0 0 64px;
  color: #5f5e5e;
  font-size: 16px;
  line-height: 25px;
}

.vf-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

.vf-ecosystem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #d6e3ff;
  color: var(--vf-blue);
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 85, 165, .08);
}

.vf-ecosystem h3 {
  margin: 0 0 12px;
  color: var(--vf-text);
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.vf-ecosystem p {
  color: #5f5e5e;
  font-size: 15px;
  line-height: 24px;
}

#footer {
  margin-top: 0;
  padding-top: 0;
  background: #000;
}

#footer .container {
  width: min(100% - 160px, 1200px);
  max-width: 1200px;
}

#footer .footer-widgets {
  padding: 64px 0;
  background: #000;
}

#footer .footer-widget .title,
#footer .footer-widget h2 {
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#footer .footer-widget ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

#footer .footer-widget p,
#footer .footer-widget li,
#footer .footer-widget a {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 21px;
}

#footer .footer-bottom {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #000;
}

.vf-product-page,
.vf-model-simple-page {
  background: #f7f8fa;
  padding-top: 82px;
  padding-bottom: 70px;
}

.vf-product-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 42px;
  padding: 44px;
  border: 1px solid rgba(194, 198, 211, .62);
  border-radius: 8px;
  background: #fff;
}

.vf-product-hero__eyebrow,
.vf-model-simple__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--vf-blue);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vf-product-hero h1,
.vf-model-simple h1 {
  margin: 0 0 18px;
  color: var(--vf-text);
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.vf-product-hero__lead,
.vf-model-simple__description {
  margin: 0 0 24px;
  color: #424751;
  font-size: 18px;
  line-height: 28px;
}

.vf-product-hero__media {
  overflow: hidden;
  border-radius: 8px;
  background: #eef1f4;
}

.vf-product-hero__media img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.vf-product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.vf-product-specs div,
.vf-model-simple__price div {
  padding: 16px;
  border: 1px solid #e1e3e4;
  border-radius: 6px;
  background: #f8f9fb;
}

.vf-product-specs span,
.vf-model-simple__price span,
.vf-version-card__price span {
  display: block;
  margin-bottom: 5px;
  color: #5f5e5e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vf-product-specs strong,
.vf-model-simple__price strong,
.vf-version-card__price strong {
  display: block;
  color: var(--vf-text);
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
}

.vf-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vf-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.vf-product-btn--primary {
  border: 2px solid #0276b3;
  background: #0276b3;
  color: #fff;
}

.vf-product-btn--ghost {
  border: 2px solid #0276b3;
  background: #fff;
  color: #0276b3;
}

.vf-product-content,
.vf-product-versions,
.vf-model-simple {
  margin-bottom: 42px;
  padding: 38px 38px 38px 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.vf-product-content {
  color: #2f3337;
  font-size: 16px;
  line-height: 26px;
}

.vf-product-layout-content {
  overflow: hidden;
}

/* Managed layout pages (hero-banner + block layout): strip the card
   padding so the hero can be truly edge-to-edge; keep white background
   so the area below the hero doesn't show the dark page background */
.vf-product-managed-content {
  padding: 0;
  background: #fff;
  border-radius: 0;
  overflow: visible;
}

/* Car versions block: use standard container width */
.vf-car-versions-block.vf-product-detail-container {
  width: min(100% - 48px, 1120px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove gray page background — white throughout (the border was already removed
   above via .vf-product-content { border: 0 }). Content stays in its normal
   centered max-width container. */
.vf-product-detail-page {
  background: #fff;
}

.vf-product-layout-content .sub-block-tabs {
  float: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  border-bottom: 1px solid #e1e3e4;
}

.vf-product-layout-content .sub-block-tabs > li {
  float: none;
}

.vf-product-layout-content .sub-block-tabs > li > a {
  border-radius: 6px 6px 0 0;
  color: #3c4653;
  font-weight: 800;
}

.vf-product-layout-content .sub-block-tabs > li.active > a,
.vf-product-layout-content .sub-block-tabs > li.active > a:focus,
.vf-product-layout-content .sub-block-tabs > li.active > a:hover {
  border-color: #0276b3 #0276b3 #fff;
  color: #0276b3;
}

.vf-product-layout-content .tab-content {
  clear: both;
}

.vf-product-layout-content .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.vf-product-layout-content .item {
  margin-bottom: 18px;
}

.vf-product-section-head {
  margin-bottom: 26px;
}

.vf-product-section-head h2 {
  margin: 0;
  color: var(--vf-text);
  font-size: 30px;
  line-height: 38px;
  font-weight: 800;
}

.vf-product-section-head span {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  background: var(--vf-blue);
}

.vf-version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vf-version-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid #e1e3e4;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 110px;
  transition: outline-color .3s;
}
.vf-version-card:target {
  outline: 3px solid #0057b8;
  outline-offset: 4px;
}

.vf-version-card__image {
  display: block;
  grid-column: 1 / -1;
  margin: -22px -22px 4px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #f4f5f6;
}

.vf-version-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  transition: transform .35s ease;
}

.vf-version-card__image:hover img {
  transform: scale(1.04);
}

.vf-version-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.vf-version-card__catalog-link {
  font-size: 11px;
  font-weight: 700;
  color: #0057b8;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.vf-version-card__catalog-link:hover {
  text-decoration: underline;
}
.vf-version-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 800;
}

.vf-version-card p {
  margin: 0;
  color: #4b5159;
  font-size: 14px;
  line-height: 22px;
}

.vf-version-card__specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 18px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eef0f1;
}

.vf-version-card__specs > div {
  min-width: 0;
}

.vf-version-card__specs span {
  display: block;
  color: #767676;
  font-size: 12px;
  font-weight: 700;
}

.vf-version-card__specs strong {
  display: block;
  margin-top: 3px;
  color: var(--vf-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.vf-version-card__price {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  border-top: 1px solid #eef0f1;
}

.vf-version-card__price > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f1;
}

.vf-version-card__price span {
  display: inline;
  margin: 0;
  color: #767676;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.vf-version-card__price strong {
  display: inline;
  margin: 0;
  color: var(--vf-text);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

/* Khối các màu xe (.mauxe) — color-picker block on car/model pages */
.mauxe {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  gap: 18px;
  width: 100%;
  max-width: 640px;
  margin: 32px 0;
}

.mauxe-list {
  position: relative;
  width: 100%;
}

.mauxe-img {
  width: 100%;
  text-align: center;
}

.mauxe-img img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.mauxe-name {
  margin-top: 12px;
  color: var(--vf-text);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
}

.mauxe-color {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.mauxe-color > .mauxe-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.mauxe-color > .mauxe-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 6px 14px rgba(0, 0, 0, .18);
}

.mauxe-color > .mauxe-item > .white {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 55%;
  background-color: rgba(255, 255, 255, .25);
}

.mauxe-color > .mauxe-item > i {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.mauxe + .image-note,
.image-note {
  margin-top: -16px;
  margin-bottom: 24px;
  text-align: center;
}

.image-note p {
  margin: 0;
  color: var(--vf-text-muted);
  font-size: 13px;
  font-style: italic;
}

.vf-model-simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.vf-model-simple__content {
  color: #2f3337;
  font-size: 16px;
  line-height: 26px;
}

.vf-model-simple__price {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid #e1e3e4;
  border-radius: 8px;
  background: #f8f9fb;
}

.vf-model-simple__price h2 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 800;
}

@media (max-width: 991px) {
  #header .logo-banner .left {
    left: 20px;
    width: auto;
    justify-content: flex-start;
  }

  #header .navbar-right {
    right: 20px;
  }

  .vf-design-nav {
    width: calc(100% - 40px);
  }

  .vf-design-nav__links {
    display: none;
  }

  #header .navbar-nav > li:not(.li-search) {
    display: none;
  }

  .vf-home-container,
  #footer .container {
    width: calc(100% - 40px);
  }

  .vf-home-hero {
    min-height: 620px;
  }

  .vf-home-hero__content {
    bottom: 92px;
  }

  .vf-home-hero__content h1 {
    font-size: 44px;
    line-height: 1.1;
  }

  .vf-ford-slide__text {
    max-width: 520px;
    font-size: 18px;
  }

  .vf-model-grid,
  .vf-offer-layout,
  .vf-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .vf-offer-layout {
    min-height: 0;
  }

  .vf-product-hero,
  .vf-model-simple {
    grid-template-columns: 1fr;
  }

  .vf-version-grid {
    grid-template-columns: 1fr;
  }

  .vf-model-simple__price {
    position: static;
  }
}

/* Thu nhỏ chiều cao thanh menu mobile (hamburger + logo + tìm kiếm) */
@media (max-width: 991px) {
  .nav-mobile-header {
    padding: 2px;
  }

  .nav-mobile-header-container .menu-icon,
  .nav-mobile-header-container .mobile-search {
    width: 42px;
    height: 42px;
  }

  .nav-mobile-header-container .menu-icon a,
  .nav-mobile-header-container .mobile-search .search-icon {
    padding: 8px;
    font-size: 20px;
    line-height: 20px;
  }

  .nav-mobile-header-container .mobile-logo .logo {
    max-height: 30px;
  }

  .mobile-nav-container {
    min-height: 46px;
  }

  .nav-mobile {
    top: 46px;
  }

  /* Nguyên nhân gốc của khoảng hở/đường viền xám dưới header trên MỌI trang
     không phải homepage (kể cả Hero Banner ở trang xe): #header bị khoá cứng
     height:58px (xem rule gốc phía trên), nhưng nội dung mobile của nó
     (.mobile-nav-container) chỉ cao 46px trong số 58px đó — phần dư 12px lộ
     ra là nền mờ/blur của #header, nằm chồng lên đầu nội dung trang phía
     dưới. Khoá #header về đúng 46px trên mobile để khớp với nội dung thật.
     (Trang chủ vẫn giữ override height:0 riêng qua body.vf-homepage-body /
     :has(.vf-home) vì các selector đó có độ ưu tiên cao hơn #header thường.) */
  #header.navbar-fixed-top,
  #header {
    height: 46px;
    min-height: 46px;
  }
}

@media (max-width: 767px) {
  .vf-home-hero {
    height: 640px;
    min-height: 640px;
  }

  .vf-home-hero__shade {
    background:
      linear-gradient(0deg, rgba(0, 15, 31, .86) 0%, rgba(0, 20, 40, .44) 58%, rgba(0, 0, 0, .08) 100%),
      linear-gradient(90deg, rgba(0, 19, 38, .34), rgba(0, 0, 0, 0));
  }

  .vf-home-hero__content {
    bottom: 72px;
  }

  .vf-ford-slide__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .vf-home-hero__content h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.08;
  }

  .vf-ford-slide__text {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.45;
  }

  .vf-home-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vf-home-btn {
    min-width: 196px;
    min-height: 44px;
    padding: 11px 22px;
    font-size: 12px;
  }

  .vf-ford-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 56px;
    margin-top: -28px;
    background: rgba(0, 29, 55, .42);
  }

  .vf-ford-slider__arrow:before {
    width: 10px;
    height: 10px;
  }

  .vf-ford-slider__dots {
    bottom: 28px;
  }

  .vf-ford-slider__dot {
    width: 28px;
  }

  .vf-ford-slider__dot.is-active {
    width: 46px;
  }

  .vf-home-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .vf-home-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 34px;
  }

  .vf-home-section h2,
  .vf-home-section__head h2 {
    font-size: 22px;
    line-height: 28px;
    padding-left: 10px;
  }

  /* Inside the flex head row (title + "Tất cả" link), the title needs to
     shrink a bit further and stay on one line so it doesn't wrap onto a
     second line and push the link below it. */
  .vf-home-section__head h2 {
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vf-home-section__head a {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .vf-model-card__media {
    height: 220px;
  }

  .vf-model-card__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vf-model-card__price {
    text-align: left;
    white-space: normal;
  }

  .vf-model-card__specs {
    gap: 6px;
  }

  .vf-model-card__specs span {
    font-size: 9px;
    line-height: 12px;
    letter-spacing: 0;
  }

  .vf-offer-card--large {
    min-height: 420px;
  }

  .vf-offer-card--large .vf-offer-card__content h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .vf-offer-card--large .vf-offer-card__content p {
    font-size: 13px;
    line-height: 19px;
  }

  .vf-ecosystem-grid {
    gap: 36px;
  }

  .vf-product-page,
  .vf-model-simple-page {
    padding-top: 64px;
  }

  .vf-product-hero,
  .vf-product-content,
  .vf-product-versions,
  .vf-model-simple {
    padding: 22px;
  }

  .vf-product-hero h1,
  .vf-model-simple h1 {
    font-size: 34px;
  }

  .vf-product-specs,
  .vf-version-card {
    grid-template-columns: 1fr;
  }
}

.vf-product-page.vf-product-detail-page {
  padding: 0 0 56px;
}

.vf-product-detail-page .vf-product-versions,
.vf-product-detail-page .vf-product-content {
  border-radius: 0;
}

/* Product catalog page */
.vf-catalog-page {
  background: #f7f8f9;
  color: var(--vf-text);
}

.vf-catalog-container {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
}

.vf-catalog-hero {
  padding: 72px 0 54px;
  text-align: center;
}

.vf-catalog-hero h1 {
  margin: 0 0 18px;
  color: #111820;
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.vf-catalog-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: #4f5964;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.vf-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 74px;
}

.vf-catalog-filters button {
  min-width: 118px;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #dfe2e5;
  color: #4d545c;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.vf-catalog-filters button:hover,
.vf-catalog-filters button:focus,
.vf-catalog-filters button.is-active {
  background: #0057b8;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 87, 184, .18);
  transform: translateY(-1px);
}

.vf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 68px;
}

.vf-catalog-card {
  overflow: hidden;
  border: 1px solid #d9dde1;
  border-radius: 8px;
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.vf-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, .28);
  box-shadow: 0 18px 38px rgba(12, 24, 38, .11);
}

.vf-catalog-card__media {
  position: relative;
  display: block;
  height: 255px;
  overflow: hidden;
  background: #dfe2e5;
}

.vf-catalog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.vf-catalog-card:hover .vf-catalog-card__media img {
  transform: scale(1.045);
}

.vf-catalog-card__media span {
  position: absolute;
  top: 18px;
  right: 16px;
  padding: 8px 12px;
  background: #05070a;
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.vf-catalog-card__body {
  padding: 26px 24px 24px;
}

.vf-catalog-card__body h2 {
  margin: 0 0 8px;
  color: #111820;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.vf-catalog-card__body h2 a {
  color: inherit;
}

.vf-catalog-card__body p {
  margin: 0 0 18px;
  color: #4f5964;
  font-size: 15px;
  line-height: 20px;
}

.vf-catalog-card__body strong {
  display: block;
  margin-bottom: 28px;
  color: #0046a3;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
}

.vf-catalog-card__button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #5d646b;
  color: #222a32;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}

.vf-catalog-card__button:hover,
.vf-catalog-card__button:focus {
  border-color: #0057b8;
  background: #0057b8;
  color: #fff;
}

.vf-catalog-card__button i {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.vf-catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px 0;
  color: #4f5964;
  text-align: center;
}

.vf-catalog-page--home-cards .vf-home-section {
  padding-top: 0;
  padding-bottom: 76px;
}

.vf-catalog-page--home-cards .vf-home-section__head {
  margin-bottom: 34px;
}

@media (max-width: 991px) {
  .vf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vf-catalog-card__media {
    height: 240px;
  }
}

@media (max-width: 767px) {
  .vf-catalog-container {
    width: min(calc(100% - 32px), 1120px);
  }

  .vf-catalog-hero {
    /* Fixed #header is 58px tall on mobile and overlaps the top of this
       section; add enough top padding to clear it so the H1 isn't hidden. */
    padding: 78px 0 28px;
  }

  .vf-catalog-hero h1 {
    font-size: 22px;
    line-height: 28px;
  }

  .vf-catalog-hero p {
    font-size: 14px;
    line-height: 22px;
  }

  /* Compact horizontally-scrolling filter chips instead of a tall multi-row
     wrap, which was eating a lot of vertical space on mobile. */
  .vf-catalog-filters {
    margin-top: 24px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
  }

  .vf-catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .vf-catalog-filters button {
    flex-shrink: 0;
    min-width: 0;
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .vf-catalog-grid {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .vf-ford-slide--mobile-pos-left-center .vf-home-hero__content,
  .vf-ford-slide--mobile-pos-left-bottom .vf-home-hero__content,
  .vf-ford-slide--mobile-pos-center .vf-home-hero__content,
  .vf-ford-slide--mobile-pos-right-center .vf-home-hero__content {
    left: calc(20px + var(--vf-mobile-content-left, 0%));
    right: 20px;
    max-width: none;
    margin-left: 0;
  }

  .vf-ford-slide--mobile-pos-left-center .vf-home-hero__content,
  .vf-ford-slide--mobile-pos-center .vf-home-hero__content,
  .vf-ford-slide--mobile-pos-right-center .vf-home-hero__content {
    top: calc(50% + var(--vf-mobile-content-top, 0%) - var(--vf-mobile-content-bottom, 0%));
    bottom: auto;
  }

  .vf-ford-slide--mobile-pos-left-bottom .vf-home-hero__content {
    top: auto;
    bottom: calc(62px + var(--vf-mobile-content-bottom, 0%) - var(--vf-mobile-content-top, 0%));
  }

  .vf-ford-slide--mobile-pos-center .vf-home-hero__content {
    align-items: center;
    text-align: center;
  }

  .vf-ford-slide--mobile-pos-right-center .vf-home-hero__content {
    align-items: flex-end;
    text-align: right;
  }

  .vf-home-hero__content h1 {
    font-size: var(--vf-mobile-title-size, 30px);
    font-weight: var(--vf-mobile-title-weight, 800);
  }

  .vf-ford-slide__text {
    font-size: var(--vf-mobile-subtitle-size, 15px);
    font-weight: var(--vf-mobile-subtitle-weight, 400);
  }

  .vf-ford-slide__body {
    font-size: var(--vf-mobile-body-size, 14px) !important;
    text-align: var(--vf-mobile-body-align, left);
  }

  .vf-home-hero__actions .vf-home-btn--primary {
    align-self: var(--vf-mobile-btn1-self, center);
    font-size: var(--vf-mobile-btn1-size, 14px) !important;
  }

  .vf-home-hero__actions .vf-home-btn--ghost {
    align-self: var(--vf-mobile-btn2-self, center);
    font-size: var(--vf-mobile-btn2-size, 14px) !important;
  }

  .vf-ford-slide__price {
    text-align: var(--vf-mobile-price-align, left);
  }

  .vf-ford-slide__price-value {
    font-size: var(--vf-mobile-price-size, 20px) !important;
  }

  .vf-ford-slide__promo {
    text-align: var(--vf-mobile-promo-align, left);
  }

  .vf-ford-slide__promo-title,
  .vf-ford-slide__promo-list {
    font-size: var(--vf-mobile-promo-size, 13px) !important;
  }

  /* ── Hero Banner — tham số mobile (sao chép kiến trúc từ Slider phía trên) ── */
  .vf-hb-mobile-pos-left-center.vf-hero-banner-block__content,
  .vf-hb-mobile-pos-left-bottom.vf-hero-banner-block__content,
  .vf-hb-mobile-pos-center.vf-hero-banner-block__content,
  .vf-hb-mobile-pos-right-center.vf-hero-banner-block__content {
    left: calc(16px + var(--vf-hb-mobile-content-left, 0%)) !important;
    right: 16px !important;
    max-width: none !important;
  }

  .vf-hb-mobile-pos-left-center.vf-hero-banner-block__content,
  .vf-hb-mobile-pos-center.vf-hero-banner-block__content,
  .vf-hb-mobile-pos-right-center.vf-hero-banner-block__content {
    top: calc(50% + var(--vf-hb-mobile-content-top, 0%)) !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  .vf-hb-mobile-pos-left-bottom.vf-hero-banner-block__content {
    top: auto !important;
    bottom: calc(10% - var(--vf-hb-mobile-content-top, 0%)) !important;
    transform: none !important;
  }

  .vf-hb-mobile-pos-center.vf-hero-banner-block__content {
    text-align: center !important;
  }

  .vf-hb-mobile-pos-right-center.vf-hero-banner-block__content {
    text-align: right !important;
  }

  .vf-hb-heading {
    font-size: var(--vf-hb-mobile-heading-size, 30px) !important;
    font-weight: var(--vf-hb-mobile-heading-weight, 800) !important;
  }

  .vf-hb-desc {
    font-size: var(--vf-hb-mobile-desc-size, 15px) !important;
    font-weight: var(--vf-hb-mobile-desc-weight, 400) !important;
  }

  .vf-hb-body {
    font-size: var(--vf-hb-mobile-body-size, 14px) !important;
    text-align: var(--vf-hb-mobile-body-align, left) !important;
  }

  .vf-hero-banner-block__content .vf-product-detail-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .vf-hb-btn-primary {
    align-self: var(--vf-hb-mobile-btn1-self, center) !important;
    font-size: var(--vf-hb-mobile-btn1-size, 14px) !important;
  }

  .vf-hb-btn-secondary {
    align-self: var(--vf-hb-mobile-btn2-self, center) !important;
    font-size: var(--vf-hb-mobile-btn2-size, 14px) !important;
  }

  .vf-hb-price {
    text-align: var(--vf-hb-mobile-price-align, left) !important;
  }

  .vf-hb-price__value {
    font-size: var(--vf-hb-mobile-price-size, 20px) !important;
  }

  .vf-hb-promo {
    text-align: var(--vf-hb-mobile-promo-align, left) !important;
  }

  .vf-hb-promo__title,
  .vf-hb-promo__list {
    font-size: var(--vf-hb-mobile-promo-size, 13px) !important;
  }
}

/* Homepage floating menu over slider */
body:has(.vf-home) #header.navbar-fixed-top,
body:has(.vf-home) #header {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  min-height: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

body:has(.vf-home) #header .vf-design-nav {
  pointer-events: auto;
  width: 100%;
  height: 64px;
  /* Side padding = khoảng trống hai bên của .vf-home-container
     (container = min(100% - 160px, 1200px)) để logo/menu thẳng hàng với nội dung */
  padding: 0 max(80px, calc((100% - 1200px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  border-radius: 0;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 18px 40px rgba(7, 19, 31, .16);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

body:has(.vf-home) .vf-design-nav__brand {
  min-width: 178px;
  height: 64px;
  color: #111820;
  letter-spacing: .12em;
}

body:has(.vf-home) .vf-design-nav__brand img {
  height: 40px;
  max-width: 220px;
  max-height: 40px;
}

body:has(.vf-home) .vf-design-nav__brand span {
  color: #111820;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body:has(.vf-home) .vf-design-nav__links {
  gap: clamp(20px, 3vw, 42px);
}

body:has(.vf-home) .vf-design-nav__item {
  min-height: 64px;
}

body:has(.vf-home) .vf-design-nav__links a {
  height: 64px;
  color: #101820;
  border-bottom: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body:has(.vf-home) .vf-design-nav__item > a,
body:has(.vf-home) .vf-design-nav__links > a {
  position: relative;
}

body:has(.vf-home) .vf-design-nav__links a.is-active,
body:has(.vf-home) .vf-design-nav__links a:hover,
body:has(.vf-home) .vf-design-nav__links a:focus {
  color: #0057b8;
  border-bottom: 0;
}

body:has(.vf-home) .vf-design-nav__links a.is-active:after,
body:has(.vf-home) .vf-design-nav__links a:hover:after,
body:has(.vf-home) .vf-design-nav__links a:focus:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0057b8;
  transform: translateX(-50%);
}

body:has(.vf-home) .vf-design-nav__submenu {
  top: 100%;
  padding-top: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate(-50%, 2px);
}

body:has(.vf-home) .vf-design-nav__item:hover .vf-design-nav__submenu,
body:has(.vf-home) .vf-design-nav__item:focus-within .vf-design-nav__submenu {
  transform: translate(-50%, 0);
}

body:has(.vf-home) .vf-design-nav__submenu a,
body.vf-homepage-body .vf-design-nav__submenu a {
  height: auto !important;
  color: #101820;
  font-size: 13px;
  padding: 12px 28px !important;
  line-height: 18px !important;
  letter-spacing: .08em;
}

body:has(.vf-home) .vf-design-nav__search {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #101820;
  line-height: 42px;
}

body:has(.vf-home) .vf-design-nav__search:hover,
body:has(.vf-home) .vf-design-nav__search:focus {
  background: rgba(0, 87, 184, .1);
  color: #0057b8;
}

body:has(.vf-home) .vf-home-hero {
  height: min(100vh, 760px);
  min-height: 650px;
  margin-top: 0;
}

body:has(.vf-home) .vf-home-hero__shade,
body:has(.vf-home) .vf-ford-slide--overlay-dark-left .vf-home-hero__shade {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .2) 34%, rgba(0, 0, 0, .08) 70%),
    linear-gradient(90deg, rgba(255, 249, 229, .24) 0%, rgba(255, 255, 255, 0) 34%, rgba(0, 25, 55, .12) 100%);
}

body:has(.vf-home) .vf-home-hero__content {
  bottom: clamp(76px, 12vh, 112px);
  align-items: center;
  text-align: center;
}

body:has(.vf-home) .vf-home-hero__content h1 {
  max-width: 960px;
  margin-bottom: 8px;
  font-size: min(var(--vf-title-size, 46px), 6vw);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 10px 32px rgba(0, 0, 0, .45);
}

body:has(.vf-home) .vf-ford-slide__text {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: min(var(--vf-subtitle-size, 18px), 2.4vw);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

body:has(.vf-home) .vf-home-hero__actions {
  justify-content: center;
}

body:has(.vf-home) .vf-home-btn {
  min-width: 176px;
  min-height: 46px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 156, 255, .24);
  text-transform: none;
}

body:has(.vf-home) .vf-home-btn--primary {
  background: var(--vf-btn-bg, rgba(0, 105, 180, .82));
  border-color: var(--vf-btn-bg, rgba(107, 210, 255, .88));
}

body:has(.vf-home) .vf-home-btn--ghost {
  background: var(--vf-btn-bg, rgba(255, 255, 255, .16));
  border-color: var(--vf-btn-bg, rgba(255, 255, 255, .72));
}

@media (max-width: 991px) {
  body:has(.vf-home) #header.navbar-fixed-top,
  body:has(.vf-home) #header {
    top: 0;
  }

  body:has(.vf-home) #header .vf-design-nav {
    width: 100%;
    height: 56px;
    padding: 0 14px;
  }

  body:has(.vf-home) .vf-design-nav__brand {
    height: 56px;
    min-width: 0;
  }

  body:has(.vf-home) .vf-design-nav__brand img {
    max-width: 138px;
    max-height: 32px;
  }

  body:has(.vf-home) .vf-design-nav__search {
    width: 38px;
    height: 38px;
    line-height: 38px;
  }

  body:has(.vf-home) .vf-home-hero {
    height: 680px;
    min-height: 680px;
  }
}

@media (max-width: 767px) {
  body:has(.vf-home) .vf-home-hero {
    height: 620px;
    min-height: 620px;
  }

  body:has(.vf-home) .vf-home-hero__content {
    left: 20px;
    right: 20px;
    bottom: 70px;
    align-items: center;
    text-align: center;
  }

  body:has(.vf-home) .vf-home-hero__content h1 {
    font-size: var(--vf-mobile-title-size, 30px);
  }

  body:has(.vf-home) .vf-ford-slide__text {
    font-size: var(--vf-mobile-subtitle-size, 15px);
  }

  body:has(.vf-home) .vf-home-hero__actions {
    align-items: center;
  }

  body:has(.vf-home) .vf-home-btn {
    width: min(100%, 220px);
  }
}

/* Homepage compact floating menu fallback without :has() */
body.vf-homepage-body #header.navbar-fixed-top,
body.vf-homepage-body #header {
  top: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

body.vf-homepage-body #header .vf-design-nav {
  pointer-events: auto;
  width: min(calc(100% - 120px), 980px);
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 28px rgba(7, 19, 31, .14);
  transform: translateY(0);
  opacity: 1;
  transition: transform .24s ease, opacity .2s ease, background .2s ease;
}

body.vf-homepage-body #header.vf-header-hidden .vf-design-nav {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-72px);
}

/* Mobile menu/search buttons sit inside the same height:0 / pointer-events:none
   #header on the homepage. .vf-design-nav got a compensating pointer-events:auto
   above, but .mobile-nav-container (hamburger + search icon on mobile) was
   missing the same fix, leaving it visible but unclickable. */
body.vf-homepage-body #header .mobile-nav-container {
  pointer-events: auto;
}

body.vf-homepage-body #header.vf-header-hidden .mobile-nav-container {
  pointer-events: none;
}

body.vf-homepage-body .vf-design-nav__brand {
  min-width: 136px;
  height: 48px;
}

body.vf-homepage-body .vf-design-nav__brand img {
  max-width: 136px;
  max-height: 28px;
}

body.vf-homepage-body .vf-design-nav__brand span {
  font-size: 16px;
  letter-spacing: .12em;
}

body.vf-homepage-body .vf-design-nav__links {
  gap: clamp(16px, 2.4vw, 30px);
}

body.vf-homepage-body .vf-design-nav__item {
  min-height: 48px;
}

body.vf-homepage-body .vf-design-nav__links a {
  height: 48px;
  font-size: 12px;
  line-height: 16px;
}

body.vf-homepage-body .vf-design-nav__submenu {
  top: 100%;
  padding-top: 2px;
  transform: translate(-50%, 2px);
}

/* Admin-managed VinFast EV product detail layout */
.vf-product-managed-content > .container,
.vf-product-managed-content > .container > .item,
.vf-product-managed-content .model_article {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.vf-product-managed-content > .container {
  float: none;
}

.vf-product-managed-content .model_article + .model_article {
  margin-top: 0;
}

/* Some admin-managed content embeds very large raw images (e.g. 2000px wide)
   with no size constraint, which overflows the layout horizontally and forces
   the browser to download/decode oversized files — a real contributor to slow
   product-detail page loads. Make embedded content images responsive. */
.vf-product-managed-content img,
.vf-product-managed-content .elementor-widget-container img {
  max-width: 100%;
  height: auto;
}

/* Exception: hero banner cover image must keep height:100% to fill the section */
.vf-product-managed-content .vf-product-detail-hero > img,
.vf-product-managed-content .vf-hero-banner-block > img,
.vf-product-managed-content .vf-hero-banner-block > picture > img {
  max-width: none;
  height: 100%;
}

.vf-layout-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 86px max(24px, calc((100vw - 1120px) / 2));
  background: #fff;
  color: #0b1421;
}

.vf-layout-section--muted {
  background: #f4f6f8;
}

.vf-layout-section--dark {
  background: #03070c;
  color: #fff;
}

.vf-layout-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.vf-layout-heading span,
.vf-layout-kicker {
  display: block;
  margin-bottom: 10px;
  color: #0068d9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vf-layout-heading h2,
.vf-layout-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.vf-layout-heading p,
.vf-layout-copy p,
.vf-layout-card p {
  color: #52606d;
  font-size: 15px;
  line-height: 1.7;
}

.vf-layout-section--dark .vf-layout-heading p,
.vf-layout-section--dark .vf-layout-copy p,
.vf-layout-section--dark .vf-layout-card p {
  color: rgba(255, 255, 255, .72);
}

.vf-layout-two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.vf-layout-two-col--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.vf-layout-media img,
.vf-layout-personalize img,
.vf-layout-consult-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 22px 46px rgba(12, 28, 48, .12);
}

.vf-layout-media img {
  aspect-ratio: 16 / 10;
}

.vf-layout-copy ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.vf-layout-copy li {
  position: relative;
  padding-left: 34px;
  color: #1c2a39;
  font-size: 15px;
  line-height: 1.65;
}

.vf-layout-copy li:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0068d9;
  box-shadow: inset 0 0 0 5px #d8ecff;
}

.vf-layout-section--dark .vf-layout-copy li {
  color: rgba(255, 255, 255, .86);
}

.vf-layout-version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
}

.vf-layout-version-card {
  overflow: hidden;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vf-layout-version-card:hover {
  transform: translateY(-4px);
  border-color: #0068d9;
  box-shadow: 0 24px 56px rgba(0, 68, 145, .12);
}

.vf-layout-version-card.is-featured {
  background: #05264b;
  color: #fff;
  border-color: #05264b;
}

.vf-layout-version-card figure {
  margin: 0;
}

.vf-layout-version-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vf-layout-version-card__body {
  padding: 24px;
}

.vf-layout-version-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
}

.vf-layout-version-card p {
  min-height: 46px;
  margin: 0 0 16px;
  color: #65717f;
  font-size: 13px;
  line-height: 1.55;
}

.vf-layout-version-card.is-featured p {
  color: rgba(255, 255, 255, .72);
}

.vf-layout-version-card strong {
  display: block;
  margin-bottom: 18px;
  color: #0055b8;
  font-size: 20px;
  font-weight: 900;
}

.vf-layout-version-card.is-featured strong {
  color: #fff;
}

.vf-layout-version-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.vf-layout-version-meta span {
  display: block;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 132, 150, .24);
  color: #788496;
  font-size: 11px;
  text-transform: uppercase;
}

.vf-layout-version-meta b {
  display: block;
  margin-bottom: 4px;
  color: inherit;
  font-size: 14px;
  text-transform: none;
}

.vf-layout-version-card a,
.vf-layout-consult-form button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0055b8;
  background: #0055b8;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.vf-layout-version-card a:hover,
.vf-layout-consult-form button:hover {
  background: #003f88;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.vf-layout-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vf-layout-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #fff;
}

.vf-layout-card--blue {
  background: #082a51;
  color: #fff;
  border-color: #082a51;
}

.vf-layout-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
}

.vf-layout-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e4f1ff;
  color: #0055b8;
  font-weight: 900;
}

.vf-layout-personalize {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.vf-layout-personalize img {
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.vf-layout-swatches {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.vf-layout-swatches span {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c9d0d8;
}

.vf-layout-spec-table {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fff;
}

.vf-layout-spec-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.vf-layout-spec-table th,
.vf-layout-spec-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #edf0f4;
  color: #263445;
  font-size: 14px;
  text-align: left;
}

.vf-layout-spec-table th {
  background: #f7f9fb;
  color: #0055b8;
  font-weight: 850;
}

.vf-layout-spec-table tr:last-child td {
  border-bottom: 0;
}

.vf-layout-consult {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 42px;
  align-items: center;
}

.vf-layout-consult-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.vf-layout-consult-card img {
  aspect-ratio: 1;
}

.vf-layout-consult-form {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 28, 48, .14);
}

.vf-layout-consult-form input,
.vf-layout-consult-form select {
  width: 100%;
  height: 42px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid #d6dde6;
  border-radius: 3px;
  background: #fff;
  color: #172333;
}

@media (max-width: 991px) {
  .vf-layout-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .vf-layout-two-col,
  .vf-layout-two-col--reverse,
  .vf-layout-consult {
    grid-template-columns: 1fr;
  }

  .vf-layout-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vf-layout-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .vf-layout-version-grid,
  .vf-layout-card-grid {
    grid-template-columns: 1fr;
  }

  .vf-layout-version-card__body,
  .vf-layout-card,
  .vf-layout-consult-form {
    padding: 20px;
  }

  .vf-layout-spec-table {
    overflow-x: auto;
  }

  .vf-layout-spec-table table {
    min-width: 620px;
  }
}

body.vf-homepage-body .vf-design-nav__item:hover .vf-design-nav__submenu,
body.vf-homepage-body .vf-design-nav__item:focus-within .vf-design-nav__submenu {
  transform: translate(-50%, 0);
}

body.vf-homepage-body .vf-design-nav__links a.is-active:after,
body.vf-homepage-body .vf-design-nav__links a:hover:after,
body.vf-homepage-body .vf-design-nav__links a:focus:after {
  bottom: 8px;
  width: 16px;
}

body.vf-homepage-body .vf-design-nav__search {
  width: 32px;
  height: 32px;
  line-height: 32px;
}

body.vf-homepage-body .vf-home-hero {
  margin-top: 0 !important;
}

body.vf-homepage-body .vf-home {
  margin-top: -48px;
}

body.vf-homepage-body .vf-home-hero {
  min-height: calc(650px + 48px);
}

body.vf-homepage-body .vf-home-hero__content h1 {
  font-family: var(--vf-title-font, inherit);
  font-size: min(var(--vf-title-size, 46px), 6vw);
  font-weight: var(--vf-title-weight, 800);
}

body.vf-homepage-body .vf-ford-slide__text {
  font-family: var(--vf-subtitle-font, inherit);
  font-size: min(var(--vf-subtitle-size, 18px), 2.4vw);
  font-weight: var(--vf-subtitle-weight, 400);
}

body.vf-homepage-body .vf-ford-slide--overlay-dark-left .vf-home-hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 19, 38, var(--vf-slide-overlay, .78)) 0%, rgba(0, 24, 48, var(--vf-slide-overlay, .58)) 38%, rgba(0, 0, 0, .08) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 44%);
}

body.vf-homepage-body .vf-ford-slide--overlay-dark-bottom .vf-home-hero__shade {
  background: linear-gradient(0deg, rgba(0, 15, 31, var(--vf-slide-overlay, .72)) 0%, rgba(0, 20, 40, var(--vf-slide-overlay, .44)) 58%, rgba(0, 0, 0, .08) 100%);
}

body.vf-homepage-body .vf-ford-slide--overlay-soft-light .vf-home-hero__shade {
  background: linear-gradient(90deg, rgba(255, 255, 255, var(--vf-slide-overlay, .45)) 0%, rgba(255, 255, 255, .12) 58%, rgba(255, 255, 255, 0) 100%);
}

body.vf-homepage-body .vf-ford-slide--overlay-none .vf-home-hero__shade {
  display: none;
}

body.vf-homepage-body .vf-ford-slide--pos-left-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0%) - var(--vf-content-bottom, 0%));
  bottom: auto;
  align-items: flex-start;
  text-align: left;
}

body.vf-homepage-body .vf-ford-slide--pos-left-bottom .vf-home-hero__content {
  top: auto;
  bottom: calc(clamp(76px, 12vh, 112px) + var(--vf-content-bottom, 0%) - var(--vf-content-top, 0%));
  align-items: flex-start;
  text-align: left;
}

body.vf-homepage-body .vf-ford-slide--pos-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0%) - var(--vf-content-bottom, 0%));
  bottom: auto;
  align-items: center;
  text-align: center;
}

body.vf-homepage-body .vf-ford-slide--pos-right-center .vf-home-hero__content {
  top: calc(50% + var(--vf-content-top, 0%) - var(--vf-content-bottom, 0%));
  bottom: auto;
  align-items: flex-end;
  text-align: right;
}

body.vf-homepage-body .vf-ford-slide--pos-left-center .vf-home-hero__actions,
body.vf-homepage-body .vf-ford-slide--pos-left-bottom .vf-home-hero__actions {
  justify-content: flex-start;
}

body.vf-homepage-body .vf-ford-slide--pos-center .vf-home-hero__actions {
  justify-content: center;
}

body.vf-homepage-body .vf-ford-slide--pos-right-center .vf-home-hero__actions {
  justify-content: flex-end;
}

@media (max-width: 991px) {
  body.vf-homepage-body #header.navbar-fixed-top,
  body.vf-homepage-body #header {
    /* Sit flush against the top edge on mobile. */
    top: 0 !important;
  }

  body.vf-homepage-body #header .vf-design-nav {
    width: calc(100% - 20px);
    height: 48px;
    padding: 0 12px;
  }

  body.vf-homepage-body .vf-design-nav__brand {
    height: 48px;
    min-width: 0;
  }

  body.vf-homepage-body .vf-design-nav__brand img {
    max-width: 118px;
    max-height: 26px;
  }

  body.vf-homepage-body .vf-home {
    /* Mobile header (.mobile-nav-container / .nav-mobile-header) is 46px tall
       (see .mobile-nav-container{min-height:46px} / .nav-mobile{top:46px}
       above) once it hands off from .vf-design-nav below 991px. The previous
       -34px pull-up under-compensated for that real height, leaving a ~12px
       gray gap between the mobile header and the hero banner. */
    margin-top: -46px;
  }

  body.vf-homepage-body .vf-home-hero__content h1 {
    font-size: var(--vf-mobile-title-size, 30px);
    font-weight: var(--vf-mobile-title-weight, 800);
  }

  body.vf-homepage-body .vf-ford-slide__text {
    font-size: var(--vf-mobile-subtitle-size, 15px);
    font-weight: var(--vf-mobile-subtitle-weight, 400);
  }
}

@media (max-width: 767px) {
  body.vf-homepage-body .vf-ford-slide--mobile-pos-left-center .vf-home-hero__content,
  body.vf-homepage-body .vf-ford-slide--mobile-pos-center .vf-home-hero__content,
  body.vf-homepage-body .vf-ford-slide--mobile-pos-right-center .vf-home-hero__content {
    top: calc(50% + var(--vf-mobile-content-top, 0%) - var(--vf-mobile-content-bottom, 0%));
    bottom: auto;
  }

  body.vf-homepage-body .vf-ford-slide--mobile-pos-left-bottom .vf-home-hero__content {
    top: auto;
    bottom: calc(70px + var(--vf-mobile-content-bottom, 0%) - var(--vf-mobile-content-top, 0%));
  }
}

/* === DEMO: Barlow Condensed cho tên xe trên card === */
.vf-model-card h3 a,
.vf-model-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 26px !important;
}

/* === Tiêu đề các khối nội dung & trang === */
.vf-product-layout-content h2,
.vf-block-content h2,
.vf-cv2-section__head h2,
.vfce-header h1,
.vf-le-hero h1 {
  text-transform: uppercase;
  border-left: 4px solid var(--vf-blue);
  padding-left: 14px;
}
/* Loại trừ hero banner (có style riêng) */
.vf-hb-heading,
.vf-home-hero h2 {
  border-left: none !important;
  padding-left: 0 !important;
  text-transform: none !important;
}

/* === Ecosystem section – card style === */
.vf-ecosystem {
  background: #f5f7fa;
  padding: 20px 0;
}
.vf-ecosystem .vf-home-section__head span,
.vf-ecosystem > span {
  display: none;
}
.vf-ecosystem__header {
  margin-bottom: 40px;
}
.vf-ecosystem__header h2 {
  text-transform: uppercase;
  border-left: 4px solid var(--vf-blue);
  padding-left: 14px;
  margin-bottom: 12px;
}
.vf-ecosystem__intro {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .vf-ecosystem__intro {
    white-space: normal;
  }
}
.vf-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vf-ecosystem__card {
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s;
}
.vf-ecosystem__card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
}
.vf-ecosystem__icon-wrap {
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  border-radius: 12px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.vf-ecosystem__icon-wrap i {
  font-size: 22px;
  color: #0055A5;
  line-height: 1;
  display: block;
}
.vf-ecosystem__icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.vf-ecosystem__card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.vf-ecosystem__card-body h3 a:hover {
  text-decoration: underline;
}
.vf-ecosystem__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vf-ecosystem__card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.vf-ecosystem__card-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}
.vf-ecosystem__cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--vf-blue, #0055A5);
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-top: auto;
}
.vf-ecosystem__cta:hover {
  text-decoration: underline;
}
@media (max-width: 991px) {
  .vf-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Sticky horizontal nav block ("Menu ngang sticky") — admin-managed quick links
   to other blocks on the page. Always full viewport width.
   Đây là "Mục lục" để nhảy nhanh đến các phần của trang Sản phẩm — KHÔNG hiện
   ngay khi vào trang. Mặc định ẩn hoàn toàn (trượt lên + mờ đi, không bắt
   click), chỉ hiện ra (xem .vf-sticky-nav--stuck bên dưới) khi người dùng đã
   cuộn xuống khỏi đầu trang; ẩn lại ngay khi cuộn về lại đầu trang. Luôn
   `position: fixed` (không chiếm chỗ trong luồng trang) để không bao giờ đè
   lên #header ở trạng thái nghỉ — xem onScroll() trong _model_sticky_nav.php. */
.vf-sticky-nav {
  --vfsn-color: #434652;
  --vfsn-active-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e9ec;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform .25s ease, opacity .2s ease;
}
.vf-sticky-nav--stuck {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.vf-sticky-nav__label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #07131f;
  padding: 12px 0;
  white-space: nowrap;
}
.vf-sticky-nav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 0;
}
.vf-sticky-nav__inner a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 9px 20px;
  border-radius: var(--vf-radius);
  border: 1.5px solid #d7dde5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--vfsn-color);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.vf-sticky-nav__inner a i {
  color: #0057b8;
  transition: color .2s;
}
.vf-sticky-nav__inner a:hover {
  background: #eef4fc;
  border-color: #0057b8;
  color: #00358e;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 87, 184, .12);
}
.vf-sticky-nav__inner a.is-active {
  background: linear-gradient(135deg, #0057b8, #00358e);
  border-color: #00358e;
  color: var(--vfsn-active-color);
  box-shadow: 0 6px 16px rgba(0, 53, 142, .28);
}
.vf-sticky-nav__inner a.is-active i {
  color: var(--vfsn-active-color);
}
.vf-sticky-nav__inner a:hover i {
  color: #00358e;
}
/* "Danh sách sản phẩm" item: a pill that opens a dropdown of all VinFast car
   lines instead of jumping to an in-page block. */
.vf-sticky-nav__dropdown {
  position: relative;
  flex-shrink: 0;
}
.vf-sticky-nav__caret {
  font-size: 11px;
  margin-left: 2px;
  color: inherit;
}
.vf-sticky-nav__dropdown-menu {
  /* `.vf-sticky-nav__inner` has `overflow-x: auto`, and per spec that forces
     its `overflow-y` to `auto` too — an absolutely-positioned menu nested
     inside it would get clipped by that scroll box instead of floating
     above the page. `position: fixed` (with top/left set by JS right
     before opening, see _model_sticky_nav.php) escapes that clipping
     entirely since its containing block is the viewport. */
  display: none;
  position: fixed;
  margin-top: 6px;
  min-width: 200px;
  max-width: calc(100vw - 16px);
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
  padding: 6px;
  z-index: 1002;
}
.vf-sticky-nav__dropdown.is-open .vf-sticky-nav__dropdown-menu {
  display: block;
}
.vf-sticky-nav__dropdown-menu a {
  display: block;
  padding: 6px 12px;
  line-height: 1.4;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #434652;
  background: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}
.vf-sticky-nav__dropdown-menu a:hover {
  background: #eef4fc;
  color: #00358e;
  transform: none;
  box-shadow: none;
}
/* Thu nhỏ chiều cao thanh Menu ngang sticky trên Mobile */
@media (max-width: 767px) {
  .vf-sticky-nav__label {
    padding: 7px 0;
    font-size: 12px;
  }
  .vf-sticky-nav__inner {
    padding: 6px 0;
    gap: 6px;
  }
  .vf-sticky-nav__inner a {
    padding: 6px 14px;
    font-size: 12px;
  }
  /* Mục nào có icon thì trên mobile chỉ hiện icon (ẩn nhãn chữ) cho gọn;
     mục không có icon vẫn hiện chữ như cũ (xem class vf-sticky-nav__link--has-icon
     gán trong _model_sticky_nav.php). */
  .vf-sticky-nav__inner a.vf-sticky-nav__link--has-icon {
    padding: 8px 12px;
  }
  .vf-sticky-nav__inner a.vf-sticky-nav__link--has-icon span {
    display: none;
  }
  .vf-sticky-nav__inner a.vf-sticky-nav__link--has-icon i.vf-sticky-nav__caret {
    margin-left: 0;
  }
}
/* On narrow screens the trigger pill can sit anywhere along the scrollable
   nav strip (including flush against an edge), so anchoring the menu to the
   trigger's left/right edge (the desktop behaviour, set inline by
   positionDropdownMenu()) can push it off-screen or squeeze it into a tall,
   narrow, hard-to-scan column. Override with `!important` to pin it to fixed
   side margins instead, and lay the long car list out as a 2-column grid so
   it reads as a short, wide panel rather than one long scroll. */
@media (max-width: 767px) {
  .vf-sticky-nav__dropdown-menu {
    left: 12px !important;
    right: 12px !important;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 60vh;
  }
  .vf-sticky-nav__dropdown.is-open .vf-sticky-nav__dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 6px;
  }
  .vf-sticky-nav__dropdown-menu a {
    padding: 6px 6px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}
/* Footer Menu Ngang ("Menu ngang Footer") — admin-configurable pill list
   with optional per-item icon, rendered in .footer-bottom-right. Chỉ hiển
   thị trên Mobile (ẩn hoàn toàn trên Desktop/Tablet theo yêu cầu); trên
   Mobile hiển thị dạng thanh tab cố định ở đáy màn hình. */
.vf-footer-menu {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.vf-footer-menu li {
  display: block;
  margin: 0;
  list-style: none;
}
.vf-footer-menu a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: #c7cbd1;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.vf-footer-menu a i {
  color: #4dabf7;
  font-size: 11px;
}
.vf-footer-menu a:hover {
  background: rgba(77, 171, 247, .14);
  border-color: #4dabf7;
  color: #fff;
}
@media (max-width: 767px) {
  /* On mobile, the Footer Menu takes over the role of the old floating
     "Menu Footer In Mobile" widget: pinned to the bottom of the viewport
     at all times (not just when scrolled to the page footer), as a
     tab-bar with icon-on-top / label-below items spread evenly. */
  .footer-bottom-right {
    width: 100%;
    height: 45px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
    padding: 0;
  }
  .vf-footer-menu {
    display: flex;
    height: 45px;
    flex-wrap: nowrap;
    justify-content: space-around;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0;
    margin: 0;
    gap: 0;
  }
  .vf-footer-menu li {
    flex: 1 1 0;
    min-width: 48px;
    flex-shrink: 0;
  }
  .vf-footer-menu a {
    height: 45px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    padding: 2px 2px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #14181f;
    font-size: 8px;
    line-height: 1.1;
    text-align: center;
  }
  .vf-footer-menu a i {
    color: #14181f;
    font-size: 20px;
  }
  .vf-footer-menu a span {
    white-space: normal;
    max-width: 100%;
  }
  .vf-footer-menu a:hover,
  .vf-footer-menu a:hover i {
    color: #0057b8;
  }
}
/* Footer Menu submenu/dropdown — used by items with type "submenu" (manual
   child links, e.g. "Liên hệ") or "products" (auto-generated list of every
   car line, e.g. "Sản phẩm"). The menu is opened upward via JS-computed
   `position: fixed` (see the inline script in _footer.php) since the trigger
   can sit in a fixed bottom bar on mobile or right at the page's bottom edge
   on desktop — there's no room below it to drop a normal dropdown. */
.vf-footer-menu__dropdown > a {
  cursor: pointer;
}
.vf-footer-menu__caret {
  font-size: 10px !important;
  margin-left: 2px;
  transition: transform .15s;
}
.vf-footer-menu__dropdown.is-open .vf-footer-menu__caret {
  transform: rotate(180deg);
}
.vf-footer-menu__dropdown-menu {
  display: none;
  position: fixed;
  z-index: 1100;
  min-width: 150px;
  max-width: 200px;
  max-height: 72vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #20262f;
  border: 1px solid rgba(77, 171, 247, .4);
  border-top: 2px solid #4dabf7;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
  padding: 3px;
}
.vf-footer-menu__dropdown.is-open .vf-footer-menu__dropdown-menu {
  display: block;
}
.vf-footer-menu__dropdown-menu a {
  display: block;
  padding: 4px 8px;
  border-radius: 5px;
  color: #c7cbd1;
  font-size: 10.5px;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.vf-footer-menu__dropdown-menu a:last-child {
  border-bottom: none;
}
.vf-footer-menu__dropdown-menu a:hover {
  background: rgba(77, 171, 247, .18);
  color: #fff;
}
/* Header (tieu de + tay cam + nut dong) chi dung cho giao dien "bottom
   sheet" tren mobile - an hoan toan tren desktop. */
.vf-footer-menu__sheet-header {
  display: none;
}
/* Lop nen mo phia sau bottom sheet - chi xuat hien tren mobile (xem media
   query ben duoi), o desktop khong bao gio duoc kich hoat class is-visible
   nen khong can an rieng o day. */
.vf-footer-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(10, 14, 20, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.vf-footer-menu__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}
/* Khoa cuon trang nen khi bottom sheet dang mo (mobile). */
body.vf-footer-menu-sheet-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  /* ── Submenu cap 2 dang "bottom sheet": truot len tu day man hinh,
     rong full man hinh, co lop nen mo phia sau va danh sach cuon rieng
     ben trong - thay cho khung nho neo theo nut bam truoc day. ── */
  .vf-footer-menu__dropdown-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px 16px 0 0;
    border: none;
    border-top: 1px solid rgba(77, 171, 247, .4);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .45);
    padding: 0;
    overflow: hidden;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform .3s ease, visibility .3s ease;
  }
  .vf-footer-menu__dropdown.is-open .vf-footer-menu__dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .vf-footer-menu__sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    position: relative;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .vf-footer-menu__sheet-handle {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .25);
  }
  .vf-footer-menu__sheet-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }
  .vf-footer-menu__sheet-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: none;
    color: #c7cbd1;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
  }
  .vf-footer-menu__sheet-close:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
  }
  .vf-footer-menu__dropdown-list {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  }
  .vf-footer-menu__dropdown-menu a {
    padding: 13px 10px;
    font-size: 14.5px;
    border-radius: 8px;
  }
}
.vf-block-item[id] {
  scroll-margin-top: 130px;
}
#vf-models {
  scroll-margin-top: 90px;
}

/* ============================================================
   Nút nổi Hotline + Zalo (góc trái màn hình) — bật/tắt + chọn
   icon tại Admin > Cài đặt chung. Xem partials/_floating_contact.php
   ============================================================ */
.vf-float-contact {
  position: fixed;
  left: 14px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.vf-float-contact__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s, box-shadow .15s;
}
.vf-float-contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}
.vf-float-contact__zalo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  animation: vf-float-pulse 2.2s infinite;
}
.vf-float-contact__zalo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vf-float-contact__zalo i {
  font-size: 22px;
  color: #0068ff;
}
.vf-float-contact__hotline {
  background: var(--vf-blue, #0055a5);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.vf-float-contact__hotline i {
  font-size: 15px;
}
@keyframes vf-float-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, .35), 0 6px 18px rgba(0, 0, 0, .18); }
  70% { box-shadow: 0 0 0 9px rgba(0, 104, 255, 0), 0 6px 18px rgba(0, 0, 0, .18); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0), 0 6px 18px rgba(0, 0, 0, .18); }
}
@media (max-width: 767px) {
  .vf-float-contact {
    left: 10px;
    bottom: 56px;
    gap: 8px;
  }
  .vf-float-contact__zalo {
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  .vf-float-contact__hotline {
    font-size: 11.5px;
    padding: 7px 12px 7px 9px;
  }
  .vf-float-contact__hotline i {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .vf-ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .vf-mobile-hidden {
    display: none !important;
  }
}

/* ============================================================
   Popup "Yêu cầu báo giá" (modal_request_quote) — bố cục 2 cột:
   trái là ảnh nền + logo + tiêu đề marketing (overlay), phải là
   khung kính mờ chứa form (tái dùng đúng các field hiện có:
   Loại xe, Họ tên, Điện thoại, Ghi chú tuỳ chọn).
   ============================================================ */
.vf-qf2-dialog {
  max-width: 920px;
  width: 94%;
  margin: 30px auto;
}
.vf-qf2-content {
  padding: 0;
  border: none;
  border-radius: var(--vf-radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--vf-shadow, 0 20px 40px rgba(0, 0, 0, .25));
  position: relative;
}
.vf-qf2-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  opacity: 1;
  text-align: center;
}
.vf-qf2-close i {
  color: #14181f;
}
.vf-qf2-close:hover {
  background: #fff;
}
.vf-qf2-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 480px;
}
.vf-qf2-visual {
  position: relative;
  background-color: var(--vf-blue-dark, #003e7b);
  background-image: linear-gradient(135deg, var(--vf-blue-dark, #003e7b), var(--vf-blue, #0055a5));
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 36px 28px;
  color: #fff;
  min-height: 260px;
}
.vf-qf2-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, .55) 0%, rgba(0, 20, 45, .35) 35%, rgba(0, 20, 45, .35) 100%);
}
.vf-qf2-visual-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: center;
}
.vf-qf2-logo {
  display: block;
  height: 110px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  margin: 0 auto 10px;
}
.vf-qf2-headline {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
  text-align: center !important;
}
.vf-qf2-subheadline {
  display: block;
  width: 100%;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  max-width: 90%;
  text-align: center !important;
}
.vf-qf2-panel {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
}
.vf-qf2-panel-inner {
  width: 100%;
  padding: 32px 26px;
}
.vf-qf2-panel-title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--vf-blue-dark, #003e7b);
  text-align: center;
}
.vf-qf2-form {
  margin: 0;
}
.vf-qf2-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--vf-outline, #c2c6d3);
}
.vf-qf2-field:focus-within {
  border-color: var(--vf-blue, #0055a5);
}
.vf-qf2-field-icon {
  color: var(--vf-blue, #0055a5);
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.vf-qf2-field-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 6px 0;
  font-size: 14px;
  color: var(--vf-text, #191c1d);
  width: 100%;
}
.vf-qf2-field-input::placeholder {
  color: var(--vf-text-muted, #424751);
  opacity: .85;
}
.vf-qf2-field-select select.vf-qf2-field-input,
select.vf-qf2-field-input {
  appearance: auto;
  cursor: pointer;
}
.vf-qf2-field-textarea {
  align-items: flex-start;
}
.vf-qf2-field-textarea .vf-qf2-field-icon {
  margin-top: 6px;
}
.vf-qf2-field-textarea textarea.vf-qf2-field-input {
  resize: vertical;
  min-height: 40px;
}
.vf-qf2-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: var(--vf-radius, 8px);
  background: var(--vf-blue, #0055a5);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 20px;
  margin-top: 6px;
  cursor: pointer;
  transition: background .15s;
}
.vf-qf2-submit-btn:hover {
  background: var(--vf-blue-dark, #003e7b);
}
.vf-qf2-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.vf-qf2-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--vf-text-muted, #424751);
}
.vf-qf2-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.vf-qf2-trust-row i {
  color: var(--vf-blue, #0055a5);
}
.vf-qf2-disclaimer {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--vf-text-muted, #424751);
}
@media (max-width: 767px) {
  .vf-qf2-dialog {
    width: 96%;
    margin: 14px auto;
  }
  .vf-qf2-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .vf-qf2-visual {
    min-height: 220px;
    padding: 24px 20px;
  }
  .vf-qf2-logo {
    height: 80px;
  }
  .vf-qf2-headline {
    font-size: 20px;
  }
  .vf-qf2-panel-inner {
    padding: 26px 20px;
  }
  .vf-qf2-panel-title {
    font-size: 17px;
  }
}

/* ============================================================
   Popup "Đăng ký lái thử" (modal_register_testdrive) — bố cục 2
   cột: trái là ảnh nền/logo/tiêu đề + hàng icon nổi bật, phải là
   khung form trắng (giữ nguyên các field hiện có: Loại xe, Thời
   gian dự kiến, Nội dung, Họ tên, Điện thoại, Địa chỉ, Email).
   ============================================================ */
.vf-td-dialog {
  max-width: 1100px;
  width: 96%;
  margin: 30px auto;
}
.vf-td-content {
  padding: 0;
  border: none;
  border-radius: var(--vf-radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--vf-shadow, 0 20px 40px rgba(0, 0, 0, .25));
  position: relative;
}
.vf-td-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  opacity: 1;
  text-align: center;
}
.vf-td-close i {
  color: #14181f;
}
.vf-td-close:hover {
  background: #fff;
}
.vf-td-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 500px;
}
.vf-td-visual {
  position: relative;
  background-color: var(--vf-blue-dark, #003e7b);
  background-image: linear-gradient(135deg, var(--vf-blue-dark, #003e7b), var(--vf-blue, #0055a5));
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 36px;
  color: #fff;
  min-height: 280px;
}
.vf-td-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, .72) 0%, rgba(0, 20, 45, .55) 35%, rgba(0, 20, 45, .42) 100%);
}
.vf-td-visual-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
}
.vf-td-logo {
  display: block;
  height: 68px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  margin: 0 auto 6px;
  align-self: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}
.vf-td-headline {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
  color: #fff;
  text-align: center !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.vf-td-highlight {
  background: rgba(0, 14, 32, .42);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  backdrop-filter: blur(2px);
}
.vf-td-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.vf-td-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 86px;
  max-width: 150px;
  text-align: center;
}
.vf-td-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .65);
  background: rgba(0, 20, 45, .45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.vf-td-feature-text {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.vf-td-panel {
  background: var(--vf-bg-subtle, #f2f5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.vf-td-panel-inner {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--vf-radius-lg, 16px);
  box-shadow: 0 12px 30px rgba(0, 30, 70, .12);
  padding: 28px 18px;
}
.vf-td-panel-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--vf-blue-dark, #003e7b);
  text-align: center;
}
.vf-td-form {
  margin: 0;
}
.vf-td-field-row {
  display: flex;
  gap: 8px;
}
.vf-td-field-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.vf-td-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--vf-text-muted, #424751);
  margin: 0 2px 4px;
}
.vf-td-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--vf-outline, #c2c6d3);
  border-radius: 10px;
  padding: 7px 10px;
  margin-bottom: 10px;
  background: #fff;
}
.vf-td-field:focus-within {
  border-color: var(--vf-blue, #0055a5);
}
.vf-td-field-icon {
  color: var(--vf-blue, #0055a5);
  font-size: 13px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.vf-td-field-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--vf-text, #191c1d);
  width: 100%;
}
.vf-td-field-input::placeholder {
  color: var(--vf-text-muted, #424751);
  opacity: .85;
}
.vf-td-field-select select.vf-td-field-input,
select.vf-td-field-input {
  appearance: auto;
  cursor: pointer;
}
.vf-td-field-textarea {
  align-items: flex-start;
}
.vf-td-field-textarea .vf-td-field-icon {
  margin-top: 4px;
}
.vf-td-field-textarea textarea.vf-td-field-input {
  resize: vertical;
  min-height: 32px;
}
.vf-td-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: var(--vf-radius, 8px);
  background: var(--vf-blue, #0055a5);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 20px;
  margin-top: 6px;
  cursor: pointer;
  transition: background .15s;
}
.vf-td-submit-btn:hover {
  background: var(--vf-blue-dark, #003e7b);
}
.vf-td-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}
@media (max-width: 767px) {
  .vf-td-dialog {
    width: 96%;
    margin: 14px auto;
  }
  .vf-td-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .vf-td-visual {
    min-height: 170px;
    padding: 20px 18px;
  }
  .vf-td-logo {
    height: 36px;
    margin: 0 auto 4px;
  }
  .vf-td-headline {
    font-size: 14px;
  }
  .vf-td-features {
    gap: 16px;
  }
  .vf-td-panel {
    padding: 18px;
  }
  .vf-td-panel-inner {
    max-width: none;
    padding: 24px 18px;
  }
  .vf-td-panel-title {
    font-size: 17px;
  }
  .vf-td-field-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ============================================================
   Popup "Yêu cầu tư vấn" (modal_request_call) — form gọn 1 cột:
   số điện thoại + nội dung, không cần khối ảnh trái.
   ============================================================ */
.vf-rc-dialog {
  max-width: 440px;
  width: 92%;
  margin: 60px auto;
}
.vf-rc-content {
  border: none;
  border-radius: var(--vf-radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.vf-rc-header {
  position: relative;
  padding: 26px 26px 18px;
  border-bottom: none;
  background: var(--vf-surface-low, #f3f4f5);
}
.vf-rc-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  opacity: 1;
  text-align: center;
  margin: 0;
}
.vf-rc-close i {
  color: var(--vf-text, #191c1d);
}
.vf-rc-close:hover {
  background: var(--vf-surface-strong, #e7e8e9);
}
.vf-rc-title {
  margin: 0 0 10px;
  padding-left: 14px;
  border-left: 4px solid var(--vf-blue, #0055a5);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--vf-blue-dark, #003e7b);
}
.vf-rc-intro {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--vf-text-muted, #424751);
}
.vf-rc-hotline {
  font-weight: 700;
  color: var(--vf-blue, #0055a5);
  white-space: nowrap;
}
.vf-rc-hotline:hover {
  color: var(--vf-blue-dark, #003e7b);
}
.vf-rc-body {
  padding: 22px 26px 26px;
}
.vf-rc-form {
  margin: 0;
}
.vf-rc-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--vf-outline, #c2c6d3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .15s;
}
.vf-rc-field:focus-within {
  border-color: var(--vf-blue, #0055a5);
}
.vf-rc-field-icon {
  color: var(--vf-blue, #0055a5);
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.vf-rc-field-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--vf-text, #191c1d);
  width: 100%;
}
.vf-rc-field-input::placeholder {
  color: var(--vf-text-muted, #424751);
  opacity: .85;
}
.vf-rc-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: var(--vf-radius, 8px);
  background: var(--vf-blue, #0055a5);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 20px;
  margin-top: 6px;
  cursor: pointer;
  transition: background .15s;
}
.vf-rc-submit-btn:hover {
  background: var(--vf-blue-dark, #003e7b);
}
.vf-rc-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}
@media (max-width: 767px) {
  .vf-rc-dialog {
    width: 94%;
    margin: 20px auto;
  }
  .vf-rc-header {
    padding: 22px 20px 16px;
  }
  .vf-rc-body {
    padding: 18px 20px 22px;
  }
  .vf-rc-title {
    font-size: 18px;
  }
}

/* ============================================================
   Trang độc lập "Đăng ký lái thử" / "Yêu cầu báo giá"
   (register_for_test_drive.php, request_quote.php)
   ============================================================ */
.vf-pf-hero {
  background: linear-gradient(135deg, var(--vf-blue-dark), var(--vf-blue));
  border-radius: var(--vf-radius-lg);
  padding: 36px 32px;
  margin: 8px 0 26px;
  color: #fff;
  text-align: center;
  box-shadow: var(--vf-shadow-hover);
}
.vf-pf-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 22px;
  margin-bottom: 14px;
}
.vf-pf-hero__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .01em;
  margin: 0 0 10px;
  text-transform: uppercase;
  color: #fff;
}
.vf-pf-hero__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  max-width: 700px;
  margin: 0 auto;
}
.vf-pf-hero__desc b,
.vf-pf-hero__desc strong {
  color: #fff;
}
.vf-pf-hero__hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s;
}
.vf-pf-hero__hotline:hover,
.vf-pf-hero__hotline:focus {
  background: rgba(255, 255, 255, .26);
  color: #fff;
  text-decoration: none;
}
.vf-pf-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: var(--vf-surface-card);
  border: 1px solid var(--vf-outline);
  border-radius: var(--vf-radius-lg);
  box-shadow: var(--vf-shadow);
  padding: 30px 32px;
  margin-bottom: 22px;
}
.vf-pf-card__col {
  flex: 1;
  min-width: 0;
}
.vf-pf-card__divider {
  width: 1px;
  align-self: stretch;
  background: var(--vf-outline);
}
.vf-pf-card__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--vf-blue);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vf-pf-card__hint {
  font-size: 13px;
  color: var(--vf-text-muted);
  line-height: 1.55;
  margin: 4px 2px 0;
}
.vf-pf-field-col {
  display: flex;
  flex-direction: column;
}
.vf-pf-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--vf-text-muted);
  margin: 0 2px 4px;
}
.vf-pf-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--vf-outline);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.vf-pf-field:focus-within {
  border-color: var(--vf-blue);
  box-shadow: 0 0 0 3px rgba(0, 85, 165, .1);
}
.vf-pf-field-icon {
  color: var(--vf-blue);
  font-size: 15px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.vf-pf-field-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  font-size: 14.5px;
  color: var(--vf-text);
  font-family: inherit;
}
.vf-pf-field-input::placeholder {
  color: var(--vf-text-muted);
  opacity: .85;
}
.vf-pf-field-textarea {
  align-items: flex-start;
}
.vf-pf-field-textarea .vf-pf-field-icon {
  margin-top: 3px;
}
textarea.vf-pf-field-input {
  resize: vertical;
  min-height: 78px;
  line-height: 1.5;
}
select.vf-pf-field-input {
  appearance: auto;
  cursor: pointer;
}
.vf-pf-submit-row {
  text-align: center;
  margin-bottom: 36px;
}
.vf-pf-submit-row--left {
  text-align: left;
  margin-bottom: 0;
}
.vf-pf-terms {
  margin: 4px 2px 18px;
  font-size: 13px;
  color: var(--vf-text-muted);
  line-height: 1.5;
}
.vf-pf-terms .custom-checkbox {
  display: block;
}
.vf-pf-contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.vf-pf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vf-outline);
}
.vf-pf-contact-item:last-child {
  border-bottom: none;
}
.vf-pf-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 85, 165, .08);
  color: var(--vf-blue);
  font-size: 14px;
}
.vf-pf-contact-text {
  padding-top: 7px;
  font-size: 14px;
  color: var(--vf-text);
  line-height: 1.5;
}
.vf-pf-contact-text a {
  color: var(--vf-text);
  text-decoration: none;
}
.vf-pf-contact-text a:hover {
  color: var(--vf-blue);
  text-decoration: underline;
}
.vf-pf-social-row {
  float: none;
  margin-top: 6px;
}
.vf-pf-map {
  margin: 0 0 36px;
  border-radius: var(--vf-radius-lg);
  overflow: hidden;
  box-shadow: var(--vf-shadow);
  border: 1px solid var(--vf-outline);
}
.vf-pf-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.vf-pf-map--inline {
  margin: 0;
}
@media (max-width: 767px) {
  .vf-pf-map iframe {
    height: 280px;
  }
}
.vf-pf-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--vf-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 12px 26px rgba(0, 85, 165, .25);
}
.vf-pf-submit-btn:hover,
.vf-pf-submit-btn:focus {
  background: var(--vf-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .vf-pf-hero {
    padding: 26px 20px;
    border-radius: 14px;
  }
  .vf-pf-hero__icon {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
  .vf-pf-hero__title {
    font-size: 19px;
  }
  .vf-pf-hero__desc {
    font-size: 13px;
  }
  .vf-pf-hero__hotline {
    font-size: 13.5px;
    padding: 8px 18px;
  }
  .vf-pf-card {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 18px;
  }
  .vf-pf-card__divider {
    display: none;
  }
  .vf-pf-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Keep homepage desktop menu dimensions aligned with inner pages. */
@media (min-width: 992px) {
  .vf-design-nav__brand img {
    max-height: 40px;
  }

  body.vf-homepage-body #header .vf-design-nav,
  body:has(.vf-home) #header .vf-design-nav {
    width: 100%;
    height: 64px;
    padding: 0 max(80px, calc((100% - 1200px) / 2));
  }

  body.vf-homepage-body .vf-design-nav__brand,
  body:has(.vf-home) .vf-design-nav__brand {
    min-width: 178px;
    height: 64px;
  }

  body.vf-homepage-body .vf-design-nav__brand img,
  body:has(.vf-home) .vf-design-nav__brand img {
    height: 40px;
    max-width: 220px;
    max-height: 40px;
  }

  body.vf-homepage-body .vf-design-nav__links,
  body:has(.vf-home) .vf-design-nav__links {
    gap: 38px;
  }

  body.vf-homepage-body .vf-design-nav__item,
  body:has(.vf-home) .vf-design-nav__item {
    min-height: 64px;
  }

  body.vf-homepage-body .vf-design-nav__links a,
  body:has(.vf-home) .vf-design-nav__links a {
    height: 64px;
    font-size: 13px;
    line-height: 18px;
  }

  body.vf-homepage-body .vf-design-nav__search,
  body:has(.vf-home) .vf-design-nav__search {
    width: 42px;
    height: 42px;
    line-height: 42px;
  }
}

/* ==================== Khối Bố cục trang chủ: Tin tức ====================
   Tiêu đề dùng chung style .vf-home-section__head / .vf-home-section h2
   (giống "Danh sách sản phẩm") — không override font riêng nữa. */
.vf-home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.vf-home-news__card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 19, 31, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.vf-home-news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 19, 31, .14);
}

.vf-home-news__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vf-home-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-home-news__body {
  padding: 16px 18px 20px;
}

.vf-home-news__date {
  display: block;
  margin-bottom: 6px;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 600;
}

.vf-home-news__body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.vf-home-news__body h3 a {
  color: var(--vf-text);
}

.vf-home-news__body h3 a:hover {
  color: var(--vf-blue);
}

.vf-home-news__body p {
  margin: 0;
  color: #5b6572;
  font-size: 13px;
  line-height: 19px;
}

/* Lưới 1-2 cột khi ít bài (featured <=3 bài chuyển sang dạng card ảnh trên) */
.vf-home-news__grid--cols-1 {
  grid-template-columns: 1fr;
}

.vf-home-news__grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.vf-home-news__grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Kiểu "featured": 1 bài lớn bên trái + danh sách nhỏ bên phải */
.vf-home-news__featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.vf-home-news__card--featured .vf-home-news__body h3 {
  font-size: 20px;
  line-height: 27px;
}

.vf-home-news__featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cột danh sách <=3 bài: kiểu "cover card" — chữ đè trên ảnh.
   Bài nổi bật bên trái LÀM CHUẨN chiều cao (aspect-ratio cố định, ảnh absolute
   nên cột phải không có chiều cao nội tại để kéo giãn hàng); cột phải dùng
   grid-auto-rows: 1fr chia đều đúng chiều cao cột trái cho từng bài. */
.vf-home-news__featured-layout--cover {
  align-items: stretch;
}

.vf-home-news__cover-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #07131f;
}

.vf-home-news__cover-card--large {
  aspect-ratio: 16 / 10;
}

.vf-home-news__cover-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.vf-home-news__cover-card:hover img {
  transform: scale(1.04);
}

.vf-home-news__cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .04) 100%);
}

.vf-home-news__cover-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.vf-home-news__cover-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 24px;
  color: #fff;
}

.vf-home-news__cover-content .vf-home-news__date {
  color: rgba(255, 255, 255, .78);
  font-weight: 500;
}

.vf-home-news__cover-content p {
  font-weight: 400;
}

.vf-home-news__cover-content h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
}

.vf-home-news__cover-content h3 a {
  color: #fff;
}

.vf-home-news__cover-content p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 20px;
}

.vf-home-news__cover-side {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 20px;
  min-height: 0;
}

.vf-home-news__cover-side .vf-home-news__cover-card {
  min-height: 120px;
}

.vf-home-news__cover-side .vf-home-news__cover-content {
  padding: 14px 18px;
}

.vf-home-news__cover-side .vf-home-news__cover-content h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 4px;
  font-weight: 600;
}

.vf-home-news__cover-side .vf-home-news__cover-content p {
  font-size: 12.5px;
  line-height: 18px;
}

.vf-home-news__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 19, 31, .06);
  transition: box-shadow .18s ease;
}

.vf-home-news__row:hover {
  box-shadow: 0 12px 26px rgba(7, 19, 31, .12);
}

.vf-home-news__row-thumb {
  flex: 0 0 118px;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

.vf-home-news__row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-home-news__row-body h3 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.vf-home-news__row-body h3 a {
  color: var(--vf-text);
}

.vf-home-news__row-body h3 a:hover {
  color: var(--vf-blue);
}

.vf-home-news__row-body p {
  margin: 6px 0 0;
  color: #5b6572;
  font-size: 13px;
  line-height: 19px;
}

/* Kiểu "list": các dòng ngang ảnh trái, 2 cột trên desktop */
.vf-home-news__list-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.vf-home-news__row--list .vf-home-news__row-thumb {
  flex: 0 0 170px;
}

.vf-home-news__row--list .vf-home-news__row-body h3 {
  font-size: 15px;
  line-height: 21px;
}

/* Kiểu "carousel": trượt ngang bằng scroll-snap, không cần JS */
.vf-home-news__carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.vf-home-news__carousel .vf-home-news__card {
  scroll-snap-align: start;
}

.vf-home-news__carousel::-webkit-scrollbar {
  height: 6px;
}

.vf-home-news__carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 87, 184, .35);
}

.vf-home-news__carousel::-webkit-scrollbar-track {
  background: rgba(7, 19, 31, .06);
}

/* ==================== Khối Bố cục trang chủ: Giao xe ====================
   Tin từ danh mục "Giao xe" — nền tối full màn hình, 3 card tin + banner cam kết */
.vf-home-giaoxe {
  padding: 32px 0 38px;
  background: #0b0e12;
  color: #fff;
}

/* Tiêu đề dùng chung style .vf-home-section__head h2 (giống "Tin tức & Sự kiện",
   "Danh sách sản phẩm") — chỉ đổi màu chữ trắng cho nền tối */
.vf-home-giaoxe__head h2 {
  color: #fff;
}

.vf-home-giaoxe__all {
  color: #9fc1ee;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vf-home-giaoxe__all:hover {
  color: #fff;
}

.vf-home-giaoxe__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vf-home-giaoxe__card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f4;
  color: #1a2330;
  transition: transform .18s ease, box-shadow .18s ease;
}

.vf-home-giaoxe__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}

.vf-home-giaoxe__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vf-home-giaoxe__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-home-giaoxe__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
}

.vf-home-giaoxe__date {
  margin-bottom: 6px;
  color: #7b8494;
  font-size: 12px;
  font-weight: 600;
}

.vf-home-giaoxe__body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
}

.vf-home-giaoxe__body h3 a {
  color: #12233d;
}

.vf-home-giaoxe__body h3 a:hover {
  color: var(--vf-blue);
}

.vf-home-giaoxe__body p {
  margin: 0 0 14px;
  color: #5b6572;
  font-size: 13px;
  line-height: 19px;
}

.vf-home-giaoxe__more {
  margin-top: auto;
  color: var(--vf-blue);
  font-size: 13px;
  font-weight: 700;
}

.vf-home-giaoxe__more:hover {
  color: var(--vf-blue-dark, #003478);
}

/* Tắt "Cho phép bấm vào bài viết": vô hiệu mọi link bài viết trong khối,
   áp dụng cho cả 4 kiểu trình bày (grid / featured / list / carousel) */
.vf-home-giaoxe--nolink .vf-home-giaoxe__thumb,
.vf-home-giaoxe--nolink .vf-home-giaoxe__body h3 a,
.vf-home-giaoxe--nolink .vf-home-news__thumb,
.vf-home-giaoxe--nolink .vf-home-news__body h3 a,
.vf-home-giaoxe--nolink .vf-home-news__row-thumb,
.vf-home-giaoxe--nolink .vf-home-news__row-body h3 a,
.vf-home-giaoxe--nolink .vf-home-news__cover-content h3 a,
.vf-home-giaoxe--nolink .vf-home-news__cover-link {
  pointer-events: none;
  cursor: default;
}

.vf-home-giaoxe--nolink .vf-home-giaoxe__card:hover,
.vf-home-giaoxe--nolink .vf-home-news__card:hover {
  transform: none;
}

/* Banner cam kết */
.vf-home-giaoxe__commit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  margin-top: 34px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f4;
  color: #1a2330;
}

.vf-home-giaoxe__commit-body {
  padding: 38px 40px;
}

.vf-home-giaoxe__commit-body h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
  color: #12233d;
}

.vf-home-giaoxe__commit-body ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.vf-home-giaoxe__commit-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #303a49;
  font-size: 14px;
  line-height: 21px;
}

.vf-home-giaoxe__commit-body li i {
  margin-top: 3px;
  color: #12233d;
}

.vf-home-giaoxe__commit-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  background: #12233d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.vf-home-giaoxe__commit-btn:hover {
  background: var(--vf-blue);
  color: #fff;
}

.vf-home-giaoxe__commit-media {
  min-height: 260px;
}

.vf-home-giaoxe__commit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== Khối Bố cục trang chủ: Tư vấn & Lái thử ==================== */
.vf-home-consult__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.vf-home-consult__card {
  padding: 34px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f8fd 0%, #eaf1fa 100%);
  border: 1px solid #dfe8f4;
  text-align: center;
}

.vf-home-consult__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--vf-blue);
  color: #fff;
  font-size: 24px;
}

.vf-home-consult__card h3 {
  margin: 0 0 10px;
  color: var(--vf-text);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.vf-home-consult__card p {
  margin: 0 0 18px;
  color: #5b6572;
  font-size: 14px;
  line-height: 21px;
}

.vf-home-consult__card .vf-home-btn--ghost {
  border: 1px solid var(--vf-blue);
  color: var(--vf-blue);
}

/* Khối tùy chỉnh chèn từ builder */
.vf-home-custom-block {
  overflow: hidden;
}

@media (max-width: 991px) {
  .vf-home-news__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .vf-home-news__featured-layout,
  .vf-home-news__list-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Mobile 1 cột: mỗi cover card giữ tỷ lệ ảnh cố định */
  .vf-home-news__cover-card--large,
  .vf-home-news__cover-side .vf-home-news__cover-card {
    aspect-ratio: 16 / 9;
  }

  .vf-home-news__cover-side {
    grid-auto-rows: auto;
  }

  .vf-home-news__carousel {
    grid-auto-columns: minmax(240px, 78%);
    gap: 14px;
  }

  .vf-home-giaoxe__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .vf-home-giaoxe__commit {
    grid-template-columns: 1fr;
  }

  .vf-home-giaoxe__commit-body {
    padding: 26px 22px;
  }

  .vf-home-giaoxe__commit-media {
    min-height: 200px;
    order: -1;
  }

  .vf-home-consult__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .vf-home-news__grid,
  .vf-home-giaoxe__grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Đồng bộ bề rộng nội dung trang sản phẩm ====================
   Header/menu căn theo khung 1200px (padding max(80px, (100% - 1200px)/2)).
   Các container trang sản phẩm/catalog trước đây dùng 1120px nên bị thụt vào
   ~40px mỗi bên so với logo và menu. Đưa tất cả về cùng khung 1200px. */
@media (min-width: 992px) {
  .vf-product-detail-container,
  .vf-car-versions-block.vf-product-detail-container {
    width: min(100% - 160px, 1200px) !important;
  }

  .vf-catalog-container {
    width: min(100% - 160px, 1200px);
  }

  .vf-layout-section {
    padding-left: max(80px, calc((100vw - 1200px) / 2));
    padding-right: max(80px, calc((100vw - 1200px) / 2));
  }
}
