/* Shared Spanish framework refinements for localized SUNFULL pages. */
html[lang="es"] body {
  text-align: left;
}

html[lang="es"] .site-header .nav-cta,
html[lang="es"] .site-header .btn-primary,
html[lang="es"] .site-header .quote,
html[lang="es"] .support-popup-cta,
html[lang="es"] .qmodal-submit,
html[lang="es"] .conversion-cta,
html[lang="es"] .conversion-strip-link,
html[lang="es"] .mobile-sticky-cta a,
html[lang="es"] #mobileStickyCta a {
  white-space: nowrap;
}

html[lang="es"] .lang-current {
  text-transform: uppercase;
}

html[lang="es"] .qmodal-box,
html[lang="es"] .qmodal-form,
html[lang="es"] .support-popup {
  text-align: left;
}

@media (min-width: 769px) {
  html[lang="es"] .brand-logo,
  html[lang="es"] .logo {
    flex: 0 0 auto;
    min-width: 138px;
  }

  html[lang="es"] .brand-logo-img {
    width: 138px !important;
    height: auto !important;
    max-width: 138px !important;
  }

  html[lang="es"] .main-nav > ul > li > a.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  html[lang="es"] .main-nav > ul {
    flex-wrap: nowrap;
  }
}

@media (max-width: 768px) {
  html[lang="es"],
  html[lang="es"] body {
    max-width: 100%;
    overflow-x: hidden;
  }

  html[lang="es"] .header-main .container {
    max-width: 100%;
    overflow: visible;
  }

  html[lang="es"] .logo img,
  html[lang="es"] .site-logo img,
  html[lang="es"] .brand img {
    max-width: 142px;
    height: auto;
  }

  html[lang="es"] .mobile-toggle {
    display: flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  html[lang="es"] .mobile-toggle span {
    display: block !important;
  }

  html[lang="es"] .main-nav.show {
    display: block !important;
  }

  html[lang="es"] .main-nav .dropdown {
    display: none !important;
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html[lang="es"] .main-nav li.open > .dropdown,
  html[lang="es"] .main-nav .prod-has-fly.open > .prod-fly {
    display: block !important;
  }

  html[lang="es"] .main-nav .dropdown a {
    padding-left: 30px !important;
    white-space: normal !important;
  }

  html[lang="es"] .main-nav .prod-fly a {
    padding-left: 40px !important;
  }

  html[lang="es"] .hero-carousel .hc-title,
  html[lang="es"] .es-hero h1,
  html[lang="es"] .i18n-hero h1,
  html[lang="es"] .page-header h1 {
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html[lang="es"] .hero-carousel .hc-sub,
  html[lang="es"] .es-hero p,
  html[lang="es"] .i18n-hero p,
  html[lang="es"] .page-header p {
    overflow-wrap: anywhere;
  }

  html[lang="es"] .support-popup {
    max-width: calc(100vw - 24px);
  }

  html[lang="es"] .mobile-sticky-cta,
  html[lang="es"] #mobileStickyCta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }

  html[lang="es"] .mobile-sticky-cta a,
  html[lang="es"] #mobileStickyCta a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
