/* ======================================================================
 * DXTN Landing Studio v5.44.0 — LANDING CANVAS TAKEOVER + SITE UI GUARD
 * 1) Every Studio-bound landing is distraction-free: no theme header/menu/footer.
 * 2) DX ChatMini safe-zone remains site-wide and stays above bottom CTAs.
 * ====================================================================== */

/* ----------------------------------------------------------------------
 * LANDING HARD FOCUS MODE
 * Only pages that are actually bound to Landing Studio receive this body class.
 * Ordinary WordPress pages/posts keep their original site chrome.
 * ---------------------------------------------------------------------- */
body.dxtn-landing-studio-page #header,
body.dxtn-landing-studio-page .header-wrapper,
body.dxtn-landing-studio-page #masthead,
body.dxtn-landing-studio-page #wide-nav,
body.dxtn-landing-studio-page .header-main,
body.dxtn-landing-studio-page .header-bottom,
body.dxtn-landing-studio-page .nav-dark,
body.dxtn-landing-studio-page .nav-light,
body.dxtn-landing-studio-page .dxtn-site-header,
body.dxtn-landing-studio-page [data-dxtn-theme-header],
body.dxtn-landing-studio-page #footer,
body.dxtn-landing-studio-page .footer-wrapper,
body.dxtn-landing-studio-page #colophon,
body.dxtn-landing-studio-page footer.site-footer,
body.dxtn-landing-studio-page .site-footer,
body.dxtn-landing-studio-page .absolute-footer,
body.dxtn-landing-studio-page .footer-1,
body.dxtn-landing-studio-page .footer-2,
body.dxtn-landing-studio-page [data-dxtn-theme-footer],
body.dxtn-landing-studio-page [data-dxtn-site-footer] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* Flatsome and other themes can reserve space around the hidden chrome. */
body.dxtn-landing-studio-page,
body.dxtn-landing-studio-page #wrapper,
body.dxtn-landing-studio-page #main,
body.dxtn-landing-studio-page .page-wrapper,
body.dxtn-landing-studio-page .dxtn-private-route-app {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.dxtn-landing-studio-page #wrapper,
body.dxtn-landing-studio-page #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Private-route documents used to reserve room for their own header. */
body.dxtn-landing-studio-page .dxtn-private-route-app .dxtn-hero-stage {
  padding-top: clamp(54px, 6vw, 88px) !important;
}

body.dxtn-landing-studio-page .dxtn-private-route-app .dxtn-preview-bar ~ .dxtn-site-header + #dxtn-main .dxtn-hero-stage {
  padding-top: clamp(54px, 6vw, 88px) !important;
}

/* Runtime fallback marks injected theme chrome with this attribute. */
body.dxtn-landing-studio-page [data-dxtn-focus-hidden="1"] {
  display: none !important;
  visibility: hidden !important;
}

/* ----------------------------------------------------------------------
 * CHAT SAFE ZONE — site wide
 * ---------------------------------------------------------------------- */
:root {
  --dxtn-chat-safe-bottom: 18px;
}

#dx-chatmini {
  --dxtn-chat-safe-bottom-local: var(--dxtn-chat-safe-bottom);
}

@media (max-width: 782px) {
  :root {
    /* Ordinary pages keep ChatMini near its native bottom position. The old
       global 78px lift collided with the homepage Call/Zalo rail. */
    --dxtn-chat-safe-bottom: max(18px, calc(12px + env(safe-area-inset-bottom)));
  }

  body.dxtn-landing-studio-page {
    --dxtn-chat-safe-bottom: max(78px, calc(66px + env(safe-area-inset-bottom)));
  }

  #dx-chatmini {
    --dxtn-chat-safe-bottom-local: var(--dxtn-chat-safe-bottom);
  }

  .dxtn-mobile-cta,
  .dxtn-ls-mobile-bar,
  .dxtn-conversion-bar.is-mobile-sticky {
    z-index: 9996 !important;
  }
}

@media (max-width: 430px) {
  body.dxtn-landing-studio-page .dxtn-private-route-app .dxtn-hero-stage,
  body.dxtn-landing-studio-page .dxtn-private-route-app .dxtn-preview-bar ~ .dxtn-site-header + #dxtn-main .dxtn-hero-stage {
    padding-top: 34px !important;
  }
}


/* ======================================================================
 * v5.53.2 — SIGNATURE CLEAN TAKEOVER
 * A bound Signature page owns the complete visual canvas. Site-wide chat,
 * floating contact rails and injected site chrome are suppressed; the Landing's
 * own header/footer/mobile CTA remain inside .dxtn-signature-app.
 * ====================================================================== */
body.dxtn-signature-page #dx-chatmini,
body.dxtn-signature-page [data-dxtn-signature-site-contact-hidden="1"] {
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
body.dxtn-signature-page > header:not(.sig-header),
body.dxtn-signature-page > footer,
body.dxtn-signature-page > [role="banner"]:not(.dxtn-signature-app),
body.dxtn-signature-page > [role="contentinfo"] {
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}
