/* Stable Vietnamese font rendering for the labels shown in the product UI. */
.shop-image > span,
.product-badge,
.consult-form label > span,
.consult-form button,
.wp-vimax-form label > span,
.wp-vimax-form button,
.vimax-unified-header .header-cta,
.cart-page a.checkout-button,
.checkout-page #place_order {
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-synthesis: none;
}

.shop-image > span,
.product-badge,
.consult-form label > span,
.wp-vimax-form label > span {
  font-weight: 700 !important;
}

.consult-form button,
.wp-vimax-form button,
.vimax-unified-header .header-cta,
.cart-page a.checkout-button,
.checkout-page #place_order {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.vimax-popup__content .eyebrow {
  font-family: var(--vimax-font-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-synthesis: none;
  line-height: 1.5 !important;
  letter-spacing: .055em !important;
  text-rendering: optimizeLegibility;
}

.vimax-popup__content,
.vimax-popup__benefits span,
.vimax-popup__content label > span,
.vimax-popup__content input,
.vimax-popup__content select,
.vimax-popup__content button,
.vimax-popup__content small {
  font-family: var(--vimax-font-sans) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.vimax-popup__content label > span {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: .035em !important;
}

.vimax-popup__benefits span {
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

/* Unified VIMAX typography and responsive rhythm. */
:root {
  --vimax-font-sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --vimax-ink: #171717;
  --vimax-muted: #69645f;
  --vimax-orange: #ff7416;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--vimax-font-sans) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: var(--vimax-font-sans) !important; }
h1, h2, h3, h4, h5, h6,
.article-page--editorial .article-author strong {
  font-family: var(--vimax-font-sans) !important;
  font-synthesis: none;
  text-wrap: balance;
}
p { text-wrap: pretty; }
.eyebrow, .news-kicker, .lp-kicker,
.product-badge, .shop-image > span,
.home-news__eyebrow, .category-kicker,
.not-found-eyebrow {
  font-family: var(--vimax-font-sans) !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  line-height: 1.5 !important;
}
.primary-button, .secondary-button, .header-cta,
.wp-vimax-form button, .consult-form button,
.lp-hero__actions a, .not-found-actions a {
  font-family: var(--vimax-font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

/* Page-title scale shared by static and WordPress-rendered templates. */
.dealer-hero h1,
.page-hero h1,
.info-hero h1,
.wp-hero h1,
.commerce-page .wp-hero h1,
.lp-hero h1,
.product-info h1,
.not-found-hero h1 {
  font-family: var(--vimax-font-sans) !important;
  font-size: clamp(46px, 5.25vw, 76px) !important;
  font-weight: 600 !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em !important;
}
.news-heading h1,
.category-heading h1 {
  font-family: var(--vimax-font-sans) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
}
.article-page--editorial h1 {
  font-family: var(--vimax-font-sans) !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em !important;
}

/* Dealer page: balanced copy/image split and calmer reading width. */
.dealer-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
  min-height: 660px;
}
.dealer-hero > div:first-child { padding: 72px clamp(42px, 6vw, 92px); }
.dealer-hero h1 { max-width: 760px; margin: 14px 0 22px; }
.dealer-hero p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}
.dealer-hero .primary-button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 8px;
}
.dealer-benefits h2, .consult-copy h2,
.mission-section h2, .knowledge-banner h2 {
  font-family: var(--vimax-font-sans) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}
.benefit-grid h3 { font-weight: 600; line-height: 1.35; }
.benefit-grid p { font-size: 14px; line-height: 1.7; }

/* Consistent controls, readable Vietnamese labels and focus states. */
.consult-form input, .consult-form select, .consult-form textarea,
.wp-vimax-form input, .wp-vimax-form select, .wp-vimax-form textarea,
.lp-form input, .lp-form select, .lp-form textarea {
  font-size: 15px !important;
  line-height: 1.5 !important;
}
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255,116,22,.42) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1000px) {
  .dealer-hero { grid-template-columns: 1fr; }
  .dealer-hero > div:first-child { padding: 64px 42px 48px; }
  .dealer-visual { min-height: 460px; }
}

@media (max-width: 700px) {
  .dealer-hero h1,
  .page-hero h1,
  .info-hero h1,
  .wp-hero h1,
  .commerce-page .wp-hero h1,
  .lp-hero h1,
  .product-info h1,
  .not-found-hero h1 {
    font-size: clamp(36px, 10.8vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
  }
  .news-heading h1 { font-size: 40px !important; line-height: 1.1 !important; }
  .article-page--editorial h1 { font-size: 32px !important; line-height: 1.25 !important; }
  .dealer-hero > div:first-child { padding: 52px 20px 48px; }
  .dealer-hero h1 { margin: 12px 0 18px; }
  .dealer-hero p:not(.eyebrow) { font-size: 15px; line-height: 1.72; }
  .dealer-visual { min-height: 390px; background-position: 68% center; }
  .dealer-benefits { padding: 64px 20px; }
  .benefit-grid article { padding: 24px 20px; }
  .benefit-grid h3 { margin-top: 28px; font-size: 19px; }
  .lp-kicker, .product-badge, .shop-image > span,
  .home-news__eyebrow, .category-kicker, .not-found-eyebrow {
    font-size: 10px !important;
  }
}
