:root {
  --background: #f7f9fc;
  --surface: #eef3f7;
  --surface-low: #f0f4f8;
  --surface-high: #e1e9f0;
  --surface-highest: #d9e4ec;
  --surface-white: #ffffff;
  --inverse: #000000;
  --inverse-2: #000000;
  --text: #000000;
  --muted: #566168;
  --quiet: #7d8a94;
  --primary: #1464F4;
  --primary-dim: #0e4fc4;
  --accent: #1464F4;
  --car-tone: saturate(1);
  --ambient: 0 24px 48px -12px rgba(41, 52, 58, 0.12);
  --deep-shadow: 0 42px 84px -34px rgba(11, 15, 17, 0.42);
  --sidebar: 320px;
  --bottom: 86px;
}
/* Banner */
.vinfast-banner{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    margin-bottom: 0px;
}

.vinfast-banner img{
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Hotline giữa banner */
.vinfast-hotline{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #fff;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 2px;

    text-align: center;
    width: 100%;

    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100svh;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Mulish, serif;
  overflow: hidden;
}

body.dialog-lock {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  height: 100svh;
  min-height: 100vh;
  padding-bottom: var(--bottom);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255, 255, 255, 0.96), transparent 42%),
    radial-gradient(ellipse at 68% 82%, rgba(0, 234, 255, 0.1), transparent 34%),
    linear-gradient(90deg, var(--background) 0, var(--surface-low) calc(100% - var(--sidebar)), var(--inverse) calc(100% - var(--sidebar)));
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  min-height: 86px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 48px -34px rgba(41, 52, 58, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  font-family: Mulish, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(168px, 14vw, 226px);
  height: auto;
  object-fit: contain;
}

.brand-model {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.brand-model.is-changing {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-10px) scale(0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  color: var(--muted);
  font-family: Mulish, serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a,
.nav button {
  position: relative;
  padding: 33px 0 28px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease;
}

.nav a::after,
.nav button::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
  content: "";
}

.nav a:hover,
.nav a.is-active,
.nav button:hover,
.nav button.is-active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.is-active::after,
.nav button:hover::after,
.nav button.is-active::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.test-drive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 28px rgba(20, 100, 244, 0.2);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.test-drive-link:hover {
  background: var(--primary-dim);
  box-shadow: 0 20px 34px rgba(20, 100, 244, 0.28);
  transform: translateY(-2px);
}

.test-drive-dialog {
  position: fixed;
  top: 32px;
  right: max(24px, calc((100vw - 900px) / 2));
  bottom: 32px;
  left: max(24px, calc((100vw - 900px) / 2));
  z-index: 82;
  display: flex;
  max-height: 600px;
  overflow: hidden;
  color: #111b23;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 28px 70px rgba(11, 15, 17, 0.24);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(20px);
}

.test-drive-dialog.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.test-drive-panel {
  width: 100%;
  margin: 0 auto;
  overflow: auto;
  padding: 20px 28px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.4) transparent;
}

.test-drive-head {
  position: relative;
  text-align: center;
}

.test-drive-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.test-drive-head p {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.test-drive-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #111b23;
  background: #eef3f7;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
  .vinfast-field span {
    padding: 7px;
}
.test-drive-close:hover {
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-1px);
}

.test-drive-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.drive-tabs {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 18px;
  border-bottom: 2px solid #d7dee4;
}

.drive-tab {
  padding: 0 0 8px;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.drive-tab.is-disabled {
  color: #2d3338;
  border-bottom-color: transparent;
}

.test-drive-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.test-drive-shortcode-form {
  display: block;
}

.test-drive-shortcode-form .vinfast-drive-form {
  width: min(100%, 800px);
  margin: 0 auto;
  color: #2d3338;
  background: #ffffff;
  font-family: Mulish, Arial, sans-serif;
}

.test-drive-shortcode-form .vinfast-drive-form br {
  display: none;
}

.test-drive-shortcode-form .vinfast-drive-form > p,
.test-drive-shortcode-form .vinfast-form-section > p,
.test-drive-shortcode-form .vinfast-form-grid > p,
.test-drive-shortcode-form .vinfast-consents > p,
.test-drive-shortcode-form .vinfast-content-submit-wrap > p {
  display: contents;
  margin: 0;
}

.test-drive-shortcode-form .vinfast-form-section {
  margin-top: 18px;
}

.test-drive-shortcode-form .vinfast-form-section:first-child {
  margin-top: 0;
}

.test-drive-shortcode-form .vinfast-form-section h3 {
  margin: 0 0 9px;
  color: #30363d;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.test-drive-shortcode-form .vinfast-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.test-drive-shortcode-form .vinfast-field {
  position: relative;
  display: block;
  min-height: 30px;
  margin: 0 0 8px;
  border: 1px solid #d8dee5;
  background: #ffffff;
}

.test-drive-shortcode-form .vinfast-form-grid .vinfast-field {
  width: 100%;
  margin-bottom: 0;
}

.test-drive-shortcode-form .vinfast-form-grid > .vinfast-field,
.test-drive-shortcode-form .vinfast-form-grid > p > .vinfast-field {
  min-width: 0;
}

.test-drive-shortcode-form .vinfast-field-full,
.test-drive-shortcode-form .vinfast-select-field {
  width: 100%;
}

.test-drive-shortcode-form .vinfast-field > span:first-child {
  position: absolute;
  top: 8px;
  left: 14px;
  z-index: 2;
  color: #7d8790;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.test-drive-shortcode-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.test-drive-shortcode-form .vinfast-field-full{
        width: 100%;
    height: 55px !important;
}
span.wpcf7-form-control-wrap {
    bottom: 20px !important;
}
h3.modal-title {
    font-size: 30px ;
    text-align: center;
}
p.modal-desc {
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 19px;
    font-style: italic;
}
.test-drive-shortcode-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 33px !important;
}
.test-drive-shortcode-form .vinfast-consents .wpcf7-list-item {
    display: block;
    margin: 0;
    margin-top: 20px !important;
        margin-left: 20px !important;
            height: 20px !important;
}

.test-drive-shortcode-form input[type="text"],
.test-drive-shortcode-form input[type="tel"],
.test-drive-shortcode-form input[type="email"],
.test-drive-shortcode-form input[type="date"],
.test-drive-shortcode-form select,
.test-drive-shortcode-form textarea {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 38px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 21px 14px 7px;
  color: #2d3338;
  background-color: transparent;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: none;
  appearance: none;
}

.test-drive-shortcode-form textarea {
  min-height: 42px;
  resize: vertical;
}

.test-drive-shortcode-form .vinfast-textarea-field {
  min-height: 44px;
}

.test-drive-shortcode-form .vinfast-field:focus-within {
  border-color: var(--primary);
  box-shadow: inset 0 -2px 0 var(--primary);
}

.test-drive-shortcode-form select {
  padding-right: 48px;
  cursor: pointer;
background-image:
  linear-gradient(45deg, transparent 50%, #1464F4 50%),
  linear-gradient(135deg, #1464F4 50%, transparent 50%);

  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 14px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}


.test-drive-shortcode-form input[type="date"] {
  padding-right: 22px;
}

.test-drive-shortcode-form .vinfast-count {
  position: absolute;
  right: 12px;
  top: 19px;
  z-index: 3;
  color: #7d8790;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.test-drive-shortcode-form .vinfast-consents {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
    grid-auto-flow: column;
        height: 20px !important;
}

.test-drive-shortcode-form .vinfast-consents label {
  display: block;
  margin: 0;
}

.test-drive-shortcode-form .vinfast-consents .wpcf7-list-item {
  display: block;
  margin: 0;
}
.form-check-label>input[type=checkbox]{
    margin-right: .325rem;
}

.test-drive-shortcode-form .vinfast-consents .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
}

.test-drive-shortcode-form .vinfast-consents input[type="checkbox"] {
  width: 16px !important;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
  appearance: auto;
}

.test-drive-shortcode-form .vinfast-consents .wpcf7-list-item-label {
  color: #5f6973;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.test-drive-shortcode-form .vinfast-content-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.test-drive-shortcode-form input[type="submit"] {
  width: auto !important;
  min-width: 210px;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  padding: 0 24px;
  color: #ffffff;
  background: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background 160ms ease, transform 160ms ease;
}

.test-drive-shortcode-form input[type="submit"]:hover {
  background: var(--primary-dim);
  transform: translateY(-1px);
}

.test-drive-shortcode-form .wpcf7-spinner {
  position: absolute;
  margin: 14px 0 0 12px;
}

.test-drive-shortcode-form .wpcf7-not-valid-tip {
  margin: 6px 0 0;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
}

.test-drive-shortcode-form .wpcf7-response-output {
  margin: 20px 0 0;
  border: 1px solid #d8dee5;
  padding: 12px 14px;
  color: #252a31;
  background: #f6f9fc;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  height: calc(100svh - var(--bottom));
  min-height: 0;
  padding-top: 86px;
  overflow: hidden;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.48fr) minmax(420px, 1fr);
  min-height: calc(100svh - 86px - var(--bottom));
  padding: 35px 0 52px 7.5vw;
  overflow: hidden;
}

.studio-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 58% 44%, rgba(255, 255, 255, 0.98), transparent 32%),
    radial-gradient(ellipse at 62% 78%, rgba(69, 83, 108, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(206, 220, 229, 0.36));
}

.vf-watermark {
  position: absolute;
  left: 5vw;
  top: 27vh;
  z-index: 0;
  color: rgba(41, 52, 58, 0.06);
  font-family: Mulish, serif;
  font-size: clamp(150px, 23vw, 390px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.82;
  pointer-events: none;
  user-select: none;
  display: none;
}

.product-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-bottom: 58px;
}

.eyebrow,
.label,
.rail-title {
  color: #1464F4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-title {
  margin: 18px 0 0;
  color: #111b23;
  font-family: Mulish, serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.84;
}

.product-tone {
  min-height: 32px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.price-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
#modelPrice{
    color: #1464F4;
}

.metric {
  min-width: 160px;
}

.metric strong {
  display: block;
  color: #111b23;
  font-family: Mulish, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.swatches {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.product-copy > .outline-cta {
  align-self: flex-start;
  margin-top: 30px;
}

.swatch-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.swatch {
  width: 38px;
  height: 38px;
  padding: 4px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  outline: 0 solid rgba(81, 95, 120, 0);
  transition: outline 180ms ease, transform 180ms ease;
}

.swatch::before {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(11, 15, 17, 0.08);
  content: "";
}

.swatch:hover,
.swatch.is-active {
  outline: 2px solid rgba(81, 95, 120, 0.34);
  transform: translateY(-2px);
}

.vehicle-zone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding-right: 2vw;
}

.vehicle-zone::before {
  position: absolute;
  right: 0;
  bottom: 12%;
  left: 8%;
  height: 34%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(81, 95, 120, 0.24), transparent 68%);
  filter: blur(18px);
  content: "";
}

.vehicle-zone::after {
  position: absolute;
  right: -8%;
  bottom: 18%;
  width: 78%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 234, 255, 0.38), transparent);
  filter: blur(1px);
  content: "";
}

.hero-car {
  position: relative;
  z-index: 2;
  width: min(100%, 940px);
  padding-right: 60px !important;
  max-height: 54vh;
  object-fit: contain;
  object-position: center left;
  cursor: default;
  filter: var(--car-tone, saturate(1)) drop-shadow(0 44px 34px rgba(41, 52, 58, 0.2));
  transform: translateX(7%) scale(1.08);
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 360ms ease, filter 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter, opacity;
}

.hero-car.is-changing {
  opacity: 0;
  filter: blur(14px) var(--car-tone, saturate(1)) drop-shadow(0 44px 34px rgba(41, 52, 58, 0.2));
  transform: translateX(14%) scale(1.02);
}

.rail {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 86px - var(--bottom));
  padding: 25px 20px 42px;
  color: var(--quiet);
  background:
    radial-gradient(circle at 50% 0, rgba(0, 234, 255, 0.08), transparent 28%),
    var(--inverse);
}

.rail-title {
  margin-bottom: 28px;
  color: #fff;
}

.model-list {
  display: grid;
  gap: 14px;
}

.model-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px 14px;
  color: #9ca6ad;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.model-card.is-active,
.model-card:hover {
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(-4px);
}

.thumb {
  display: grid;
  height: 52px;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.thumb img {
  width: 104%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.3));
}

.model-card strong {
  display: block;
  color: #f7f9fc;
  font-family: Mulish, serif;
  font-size: 18px;
  line-height: 1;
}

.model-copy span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.rail-note {
  margin-top: auto;
  padding-top: 24px;
  color: #73808a;
  font-size: 13px;
  line-height: 1.8;
}

.model-floor-label {
  position: absolute;
  left: 50%;
  top: 5%;
  z-index: 1;
  color: rgba(20, 100, 244, 0.055);
  font-family: Mulish, serif;
  font-size: clamp(180px, 25vw, 430px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.72;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  mix-blend-mode: multiply;
  animation: modelWatermarkBreath 4.8s ease-in-out infinite;
  transition: opacity 420ms ease, filter 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.model-floor-label.is-changing {
  opacity: 0;
  filter: blur(16px);
  transform: translateX(-50%) translateY(-26px) scale(0.94);
}

.model-floor-label.is-entering {
  animation: modelWatermarkEnter 620ms cubic-bezier(0.22, 1, 0.36, 1), modelWatermarkBreath 4.8s ease-in-out 620ms infinite;
}

.bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: var(--bottom);
  padding: 14px 54px;
  color: var(--muted);
  background: rgba(247, 249, 252, 0.9);
  box-shadow: 0 -24px 48px -18px rgba(41, 52, 58, 0.18);
  backdrop-filter: blur(20px);
}

.bottom-specs {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.bottom-spec {
  display: grid;
  min-width: 150px;
  place-items: center;
  gap: 4px;
  padding: 10px 22px;
  color: var(--muted);
  background: transparent;
}

.bottom-spec.is-active {
  color: var(--surface-white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  box-shadow: 0 12px 22px rgba(81, 95, 120, 0.18);
}

.bottom-spec svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-spec span {
  font-family: Mulish, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 240px;
  padding: 0 30px;
  color: var(--surface-white);
  font-family: Mulish, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  box-shadow: 0 16px 28px rgba(81, 95, 120, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(81, 95, 120, 0.3);
}

.outline-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  overflow: hidden;
  border: 0;
  padding: 0.7em 2.4em;
  color: #1464F4;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  user-select: none;
  transition: color 0.3s ease, transform 220ms ease;
}

.outline-cta span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 4px solid #1464F4;
  background: transparent;
}

.outline-cta span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 8%;
  height: 500%;
  background: var(--surface-low);
  content: "";
  transform: translate(-50%, -50%) rotate(-60deg);
  transition: all 0.3s;
}

.outline-cta:hover {
  color: white;
  transform: translateY(-2px);
}

.outline-cta:hover span::before {
  width: 100%;
  background: #1464F4;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.outline-cta:active span::before {
  background: #2751cd;
}

.vehicle-dialog {
  position: fixed;
  inset: 24px;
  z-index: 80;
  display: flex;
  max-height: calc(100svh - 48px);
  overflow: hidden;
  color: #111b23;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 36px 90px rgba(11, 15, 17, 0.28);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(20px);
}

.vehicle-dialog.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 15, 17, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.dialog-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vehicle-dialog-panel {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  padding: 10px 38px 0;
  border-bottom: 1px solid rgba(86, 97, 104, 0.18);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.dialog-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dialog-title {
  margin: 8px 0 0;
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.dialog-description {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #111b23;
  background: #eef3f7;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dialog-close:hover {
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-1px);
}

.dialog-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.dialog-tabs {
  display: flex;
  gap: clamp(28px, 6vw, 92px);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.4) transparent;
}

.dialog-tab {
  position: relative;
  min-height: 64px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.dialog-tab::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  content: "";
}

.dialog-tab:hover,
.dialog-tab.is-active {
  color: var(--primary);
}

.dialog-tab.is-active::after {
  transform: scaleX(1);
}

.dialog-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 15px 30px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.4) transparent;
}

.model-info-grid {
  display: grid;
  gap: 18px;
}

.model-info-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 260px;
  padding: 26px;
  background: linear-gradient(135deg, #f6f9fc, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(86, 97, 104, 0.12);
}

.model-info-media {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 72%, rgba(81, 95, 120, 0.18), transparent 62%);
}

.model-info-media img {
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  filter: var(--modal-car-tone, saturate(1)) drop-shadow(0 30px 24px rgba(41, 52, 58, 0.18));
  transition: opacity 180ms ease, transform 220ms ease;
}

.model-info-media.is-changing img {
  opacity: 0;
  transform: translateX(16px) scale(0.985);
}

.model-color-row {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(41, 52, 58, 0.12);
  backdrop-filter: blur(14px);
}

.model-color-btn {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: var(--modal-swatch);
  box-shadow: inset 0 0 0 1px rgba(11, 15, 17, 0.12), 0 8px 16px rgba(41, 52, 58, 0.16);
  cursor: pointer;
  transition: outline 180ms ease, transform 180ms ease;
}

.model-color-btn:hover,
.model-color-btn.is-active {
  outline: 2px solid rgba(20, 100, 244, 0.55);
  transform: translateY(-2px);
}

.model-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(41, 52, 58, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(12px);
}

.model-slider-btn:hover {
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-50%) scale(1.04);
}

.model-slider-btn:disabled {
  opacity: 0.34;
  cursor: default;
  pointer-events: none;
}

.model-slider-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model-slider-prev {
  left: 14px;
}

.model-slider-next {
  right: 14px;
}

.model-slide-count {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 10px;
  color: #111b23;
  background: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.model-info-copy h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.model-title-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.model-info-copy p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.intro-article {
  padding: 34px;
  background: linear-gradient(135deg, #f6f9fc, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(86, 97, 104, 0.12);
}

.intro-article h3 {
  margin: 0;
  color: #111b23;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.intro-article p {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.intro-article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 22px 0;
}

.intro-article-content figure,
.intro-article-content .wp-caption {
  max-width: 100%;
  margin: 22px 0;
}

.intro-article-content figcaption,
.intro-article-content .wp-caption-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.intro-article-content .aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.intro-article-content .alignleft {
  float: left;
  margin-right: 22px;
}

.intro-article-content .alignright {
  float: right;
  margin-left: 22px;
}

.intro-article-content::after {
  display: block;
  clear: both;
  content: "";
}

.model-info-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.model-info-spec {
  display: inline-grid;
  gap: 4px;
  min-width: 124px;
  padding: 13px 16px;
  background: #eef3f7;
}

.model-info-spec span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-info-spec strong {
  color: #111b23;
  font-size: 16px;
}

.brochure-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.brochure-link:hover {
  background: var(--primary-dim);
  transform: translateY(-2px);
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 35px;
  border-top: 1px solid rgba(86, 97, 104, 0.18);
  background: rgba(255, 255, 255, 0.94);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  background: linear-gradient(180deg, var(--surface-low), var(--background));
}

.section-inner {
  padding: 98px 7.5vw 118px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 18px 0 0;
  color: #111b23;
  font-family: Mulish, serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 30px;
  background: var(--surface-white);
  box-shadow: 0 24px 48px -32px rgba(41, 52, 58, 0.24);
}

.feature-card h3 {
  margin: 0;
  color: #111b23;
  font-family: Mulish, serif;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.empty-rail {
  background: var(--inverse);
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition: opacity 700ms ease, filter 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes modelWatermarkEnter {
  0% {
    opacity: 0;
    filter: blur(18px);
    transform: translateX(-50%) translateY(-42px) scale(0.92);
  }

  65% {
    opacity: 0.95;
    filter: blur(2px);
    transform: translateX(-50%) translateY(4px) scale(1.035);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes modelWatermarkBreath {
  0%,
  100% {
    opacity: 0.72;
    letter-spacing: -0.06em;
  }

  50% {
    opacity: 0.96;
    letter-spacing: -0.035em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-height: 760px) {
        p.modal-desc {
    font-size: 15px;
}
        h3.modal-title {
    font-size: 20px ;
}
.outline-cta {
    min-width: 180px;
    min-height: 45px;
    font-size: 12px;
    display:none;

}
    
  .test-drive-dialog {
    top: 16px;
    bottom: 16px;
    max-height: 600px;
  }

  .test-drive-panel {
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .test-drive-head h2 {
    font-size: clamp(24px, 3vw, 34px);
  }

  .test-drive-head p {
    margin-top: 8px;
    font-size: 13px;
  }

  .drive-tabs {
    margin-top: 14px;
  }

  .test-drive-form {
    margin-top: 14px;
  }
      .test-drive-shortcode-form .vinfast-form-grid .vinfast-field {
  margin-bottom: 7px;
}
}

@media (max-width: 1180px) {
    .outline-cta {
    min-width: 180px;
    min-height: 45px;
    font-size: 12px;

}
  :root {
    --sidebar: 310px;
  }

  .stage {
    grid-template-columns: 0.58fr 1fr;
    padding-left: 5vw;
  }

  .hero-car {
    transform: translateX(5%) scale(1.04);
  }

  .bottom-spec {
    min-width: 124px;
    padding-inline: 14px;
  }
}

@media (max-width: 960px) {
        .test-drive-shortcode-form .vinfast-form-grid .vinfast-field {
  margin-bottom: 7px;
}
    p.modal-desc {
    font-size: 15px;
}
        h3.modal-title {
    font-size: 20px ;
}
    .outline-cta {
    min-width: 180px;
    min-height: 45px;
    font-size: 12px;
        display:none;

}
  :root {
    --bottom: 0px;
  }

  .app {
    padding-bottom: 0;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--background), var(--surface-low));
  }

  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .hero,
  .content-section {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
  }

  .stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 106px 24px 24px;
  }

  .product-copy {
    padding-bottom: 22px;
  }

  .product-title {
    font-size: clamp(64px, 18vw, 112px);
  }

  .vehicle-zone {
    min-height: 320px;
    align-items: flex-start;
    justify-content: center;
    padding-right: 0;
  }

  .hero-car {
    width: min(90%, 820px);
    padding-right: 0px !important;
    transform: translateX(-2%) scale(0.94);
    max-height: 300px;
  }

  .rail {
    min-height: auto;
    margin-top: 0;
    padding: 34px 24px 42px;
  }

  .model-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-card {
    grid-template-columns: 92px 1fr;
  }

  .bottom-bar {
    position: static;
    flex-direction: column;
    gap: 12px;
    padding: 8px 6px;
  }

  .bottom-specs {
    display: grid;
    grid-auto-flow: column;
    margin-bottom: 56px;
  }

  .vehicle-dialog {
    inset: 16px;
    max-height: calc(100svh - 32px);
  }

  .test-drive-dialog {
    inset: 16px;
    max-height: 570px;
  }

  .test-drive-panel {
    padding: 22px 16px 28px;
  }

  .test-drive-shortcode-form .vinfast-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .test-drive-shortcode-form .vinfast-form-section h3 {
    font-size: 20px;
  }

  .dialog-header {
    padding: 22px 22px 0;
  }

  .dialog-title-row,
  .model-info-card {
    grid-template-columns: 1fr;
  }

  .dialog-tabs {
    gap: 34px;
  }

  .dialog-tab {
    min-height: 58px;
    font-size: 13px;
  }

  .dialog-body {
    padding: 24px 22px;
  }
  .dialog-footer {
    padding: 16px 22px;
  }

  .drive-tab {
    font-size: 16px;
  }

  .model-title-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .reserve {
    width: 100%;
    min-height: 60px;
  }

  .section-inner {
    padding: 72px 24px;
  }

  .section-head,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .empty-rail {
    display: none;
  }
}

@media (max-width: 620px) {
       .vinfast-hotline{
        font-size: 14px;
        padding: 0 10px;
        letter-spacing: 1px;
    }
    .model-floor-label{
        top: -12%;
        font-size: 150px;
    }
    p.modal-desc {
    font-size: 15px;
}
        h3.modal-title {
    font-size: 20px ;
}
    .outline-cta {
            display:none;
    min-width: 180px;
    min-height: 45px;
    font-size: 12px;

}
  .test-drive-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .test-drive-head {
    padding-top: 44px;
  }
  .test-drive-shortcode-form .vinfast-form-section {
    margin-top: 20px;
  }

  .test-drive-shortcode-form .vinfast-content-submit-wrap input[type="submit"] {
    width: 100% !important;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 0.16em;
  }

  .brand-logo {
    width: 150px;
  }

  .stage {
    padding: 20px 15px 0;
  }

  .product-copy {
    padding-bottom: 10px;
  }

  .product-title {
    margin-top: 12px;
    font-size: clamp(56px, 16vw, 78px);
  }

  .product-tone {
    min-height: auto;
    margin-top: 18px;
    font-size: 16px;
  }

  .price-strip {
    gap: 10px;
    margin-top: 10px;
  }

  .metric {
    min-width: 132px;
  }

  .product-copy > .outline-cta {
    margin-top: 20px;
  }

  .swatches {
    gap: 10px;
    margin-top: 26px;
  }

  .swatch-row {
    gap: 13px;
  }

  .swatch {
    width: 34px;
    height: 34px;
  }

  /*Thanh kéo*/
      .hero-car {
            width: 100%;
        max-height: 200px;

    transform:none !important;

    margin:auto;
    display:block;

    object-fit:contain;
  }
.vehicle-zone{
    min-height:180px;
    margin-top:0;

    overflow:visible;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;
}

/* nền */
.vehicle-zone::before{
    bottom:0;
    left:0;

    height:30%;
}

/* tắt effect */
.vehicle-zone::after{
    display:none;
}
/*scrooll trên điện thoại*/
/* Kéo ngang danh sách xe */
.model-list{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:12px !important;

    overflow-x:auto !important;
    overflow-y:hidden !important;

    width:100% !important;
    max-width:100% !important;

    padding-bottom:10px;

    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

/* Card xe */
.model-card{
    flex:0 0 170px !important;
    width:170px !important;
    min-width:170px !important;
    max-width:170px !important;

    display:flex !important;
    flex-direction:column !important;

    align-items:center !important;
    justify-content:flex-start !important;

    text-align:center !important;

    padding:5px 10px !important;

    scroll-snap-align:start;
}

/* Ảnh xe */
.model-card .thumb{
    width:100% !important;
    height: auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    margin-bottom:12px !important;
}

.model-card .thumb img{
    width:100% !important;
    max-width:140px !important;
    height:auto !important;

    object-fit:contain;
}

/* Khối chữ */
.model-copy{
    width:100% !important;

    display:flex !important;
    flex-direction:column !important;

    align-items:center !important;
    justify-content:flex-start !important;

    min-height:72px; /* chiều cao bằng nhau */

    gap:1px !important;

    text-align:center;
}

/* Tên xe */
.model-copy strong{
    display:flex !important;
    align-items:center;
    justify-content:center;

    min-height:44px; /* ép tên xe bằng nhau */

    font-size:22px !important;
    line-height:1.1 !important;

    margin:0 !important;

    text-align:center;
}

/* Giá */
.model-copy span{
    display:block !important;

    font-size:14px !important;
    line-height:1.4 !important;

    opacity:.8;
}
/* Scrollbar */
.model-list::-webkit-scrollbar{
    height:6px;
}

.model-list::-webkit-scrollbar-thumb{
    background:#777;
    border-radius:999px;
}
    .rail {
    min-height: auto;
    margin-top: 0;
    padding: 10px 24px 1px;
        overflow:hidden;
  }
}

/* Dán cuối file wp-export/assets/css/vinfast-showroom.css */
@media (min-width: 961px) {
    .test-drive-shortcode-form .vinfast-form-grid .vinfast-field {
  margin-bottom: 7px;
}
    p.modal-desc {
    font-size: 15px;
}
        h3.modal-title {
    font-size: 20px ;
}
  .rail {
    height: calc(100svh - 86px - var(--bottom));
    min-height: 0;
    overflow: hidden;
  }

  .rail-title,
  .rail-note {
    flex: 0 0 auto;
  }

  .model-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.36) rgba(255, 255, 255, 0.08);
  }

  .model-list::-webkit-scrollbar {
    width: 6px;
  }

  .model-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
  }

  .model-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.36);
  }

  .model-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
  }
}
