/*
  Shared title-bar contract.
  This file is loaded after page-specific CSS so the top bar keeps the same
  layout and behavior on every page.
*/

html body[data-page] .site-header.title-bar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 60 !important;
  box-sizing: border-box !important;
  display: grid !important;
  width: min(100%, calc(100vw - clamp(1.25rem, 4vw, 4.5rem))) !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: clamp(0.65rem, 1.15vw, 1rem) !important;
  align-items: center !important;
  margin: clamp(0.75rem, 2vw, 1.7rem) auto 0 !important;
  padding: clamp(0.7rem, 1.05vw, 0.98rem) clamp(0.82rem, 1.55vw, 1.35rem) !important;
  border: 1px solid rgba(8, 39, 79, 0.14) !important;
  border-radius: clamp(1rem, 1.45vw, 1.45rem) !important;
  background: #f7f3ea !important;
  box-shadow: 0 20px 48px rgba(8, 39, 79, 0.12) !important;
  color: var(--us-navy, #08274f) !important;
  transform: none !important;
  backdrop-filter: blur(14px) !important;
}

html body[data-page] .site-header.title-bar .brand {
  position: relative !important;
  display: inline-flex !important;
  width: clamp(9.2rem, 13.5vw, 12.8rem) !important;
  min-width: clamp(9.2rem, 13.5vw, 12.8rem) !important;
  max-width: min(100%, clamp(9.2rem, 13.5vw, 12.8rem)) !important;
  min-height: clamp(3.45rem, 4.3vw, 4.95rem) !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-self: start !important;
  color: var(--us-navy, #08274f) !important;
  text-decoration: none !important;
}

html body[data-page] .site-header.title-bar .brand img {
  display: block !important;
  width: clamp(9.2rem, 13.5vw, 12.8rem) !important;
  height: auto !important;
  max-width: 100% !important;
  opacity: 1 !important;
}

html body[data-page] .site-header.title-bar .brand::before {
  content: none !important;
  display: none !important;
}

html body[data-page] .site-header.title-bar .brand::after {
  content: none !important;
  display: none !important;
}

html body[data-page] .site-header.title-bar .nav-toggle {
  display: inline-flex !important;
  justify-self: end !important;
  width: auto !important;
  min-width: clamp(5.35rem, 8.6vw, 6.75rem) !important;
  min-height: clamp(2.75rem, 3.35vw, 3.25rem) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.38rem !important;
  padding: 0 clamp(0.86rem, 1.35vw, 1.25rem) !important;
  border: 2px solid var(--us-navy, #08274f) !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--us-navy, #08274f) !important;
  font-family: var(--font-display, var(--font-sans)) !important;
  font-size: clamp(0.92rem, 1.08vw, 1.1rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body[data-page] .site-header.title-bar .nav-toggle::before {
  content: "" !important;
  display: block !important;
  width: clamp(1rem, 1.18vw, 1.18rem) !important;
  height: clamp(0.76rem, 0.95vw, 0.9rem) !important;
  flex: 0 0 auto !important;
  background:
    linear-gradient(currentColor 0 0) center top / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center bottom / 100% 2px no-repeat !important;
}

html body[data-page] .site-header.title-bar .site-nav,
html body[data-page] .site-header.title-bar .nav-cta {
  display: none !important;
}

html body[data-page].nav-open .site-header.title-bar {
  align-items: start !important;
  padding-bottom: clamp(0.82rem, 1.25vw, 1.1rem) !important;
  background: #f7f3ea !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav {
  position: static !important;
  inset: auto !important;
  order: 3 !important;
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0.38rem !important;
  width: 100% !important;
  min-height: 0 !important;
  margin-top: 0.38rem !important;
  padding: 0.48rem !important;
  border: 1px solid rgba(8, 39, 79, 0.12) !important;
  border-radius: 0.9rem !important;
  background: rgba(255, 255, 255, 0.54) !important;
  box-shadow: none !important;
  color: var(--us-navy, #08274f) !important;
  font-family: var(--font-display, var(--font-sans)) !important;
  font-size: clamp(0.9rem, 1vw, 1rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav > :is(a, button) {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.74rem 1rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  color: inherit !important;
  font: inherit !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav > button {
  appearance: none !important;
  opacity: 0.72 !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav > :is(a, button)::before,
html body[data-page].nav-open .site-header.title-bar .site-nav > :is(a, button)::after {
  content: none !important;
  display: none !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav > a.is-current {
  background: rgba(8, 39, 79, 0.12) !important;
  color: var(--us-navy, #08274f) !important;
}

html body[data-page].nav-open .site-header.title-bar .site-nav > .mokozoo-language-menu {
  display: block !important;
  justify-self: stretch !important;
  width: 100% !important;
  margin: 0.2rem 0 0 !important;
  min-height: 2.75rem !important;
}

html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu-trigger {
  display: inline-flex !important;
  width: 100% !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-color: rgba(8, 39, 79, 0.14) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--us-navy, #08274f) !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: 1 !important;
}

html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu-icon,
html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu-icon svg {
  width: 1.75rem !important;
  height: 1.75rem !important;
}

html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu-panel {
  position: static !important;
  width: 100% !important;
  margin-top: 0.38rem !important;
  box-shadow: none !important;
}

html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu[open] .mokozoo-language-menu-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body[data-page].nav-open .site-header.title-bar .mokozoo-language-menu-panel button {
  justify-content: center !important;
}

html body[data-page].nav-open .site-header.title-bar .nav-cta {
  order: 2 !important;
  display: inline-flex !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0.38rem !important;
  padding: 0.68rem 1rem !important;
  border: 2px solid var(--us-navy, #08274f) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  color: var(--us-navy, #08274f) !important;
  font-family: var(--font-display, var(--font-sans)) !important;
  font-size: clamp(0.9rem, 1vw, 1rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body[data-page] .site-header.title-bar .nav-account {
  position: relative !important;
  display: none !important;
  min-width: 0 !important;
}

html body[data-page] .site-header.title-bar .nav-account [hidden] {
  display: none !important;
}

html body[data-page] .site-header.title-bar .nav-account > .nav-cta:not([hidden]) {
  min-width: clamp(6.4rem, 8.8vw, 8.2rem) !important;
  min-height: 2.75rem !important;
  padding: 0.68rem 1rem !important;
  border: 2px solid var(--us-navy, #08274f) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: var(--us-navy, #08274f) !important;
  box-shadow: none !important;
  font-family: var(--font-display, var(--font-sans)) !important;
  font-size: clamp(0.9rem, 1vw, 1rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body[data-page] .site-header.title-bar .nav-account > .nav-cta:not([hidden]):hover,
html body[data-page] .site-header.title-bar .nav-account > .nav-cta:not([hidden]):focus-visible {
  background: var(--us-navy, #08274f) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

html body[data-page] .site-header.title-bar .nav-account-menu {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 0.55rem) !important;
  z-index: 80 !important;
  width: min(17rem, calc(100vw - 2rem)) !important;
  padding: 0.55rem !important;
  border: 1px solid rgba(8, 39, 79, 0.14) !important;
  border-radius: 0.8rem !important;
  background: rgba(255, 252, 245, 0.98) !important;
  box-shadow: 0 20px 50px rgba(8, 39, 79, 0.16) !important;
}

html body[data-page] .site-header.title-bar .nav-account-menu:not([hidden]) {
  display: grid !important;
  gap: 0.28rem !important;
}

html body[data-page] .site-header.title-bar .nav-account-menu :is(a, button) {
  display: flex !important;
  width: 100% !important;
  min-height: 2.45rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0.58rem 0.72rem !important;
  border: 0 !important;
  border-radius: 0.5rem !important;
  background: transparent !important;
  color: var(--us-navy, #08274f) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-decoration: none !important;
}

html body[data-page] .site-header.title-bar .nav-account-menu :is(a, button):hover,
html body[data-page] .site-header.title-bar .nav-account-menu :is(a, button):focus-visible {
  background: rgba(8, 39, 79, 0.08) !important;
}

html body[data-page] .site-header.title-bar .nav-account-email {
  overflow: hidden !important;
  padding: 0.44rem 0.72rem 0.56rem !important;
  border-bottom: 1px solid rgba(8, 39, 79, 0.12) !important;
  color: rgba(8, 39, 79, 0.62) !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-page].nav-open .site-header.title-bar .nav-account {
  order: 2 !important;
  display: grid !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 0.38rem !important;
}

html body[data-page].nav-open .site-header.title-bar .nav-account > .nav-cta:not([hidden]) {
  display: inline-flex !important;
  width: 100% !important;
}

html body[data-page].nav-open .site-header.title-bar .nav-account-menu {
  position: static !important;
  width: 100% !important;
  margin-top: 0.38rem !important;
  box-shadow: none !important;
}

@media (min-width: 1181px) {
  html body[data-page] .site-header.title-bar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 0 !important;
    background: #f7f3ea !important;
    backdrop-filter: blur(4px) saturate(1.05) !important;
  }

  html body[data-page] .site-header.title-bar .brand {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  html body[data-page] .site-header.title-bar .nav-toggle {
    display: none !important;
  }

  html body[data-page] .site-header.title-bar .site-nav {
    position: static !important;
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(8, max-content) !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    gap: clamp(1rem, 1.45vw, 2.25rem) !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: clamp(3.05rem, 4.05vw, 3.65rem) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--us-navy, #08274f) !important;
    font-family: var(--font-display, var(--font-sans)) !important;
    font-size: clamp(1.06rem, 1.42vw, 1.45rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  html body[data-page] .site-header.title-bar .site-nav > :is(a, button) {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 2.75rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  html body[data-page] .site-header.title-bar .site-nav > :is(a, button)::before,
  html body[data-page] .site-header.title-bar .site-nav > :is(a, button)::after {
    content: none !important;
    display: none !important;
  }

  html body[data-page] .site-header.title-bar .site-nav > a:hover,
  html body[data-page] .site-header.title-bar .site-nav > a:focus-visible,
  html body[data-page] .site-header.title-bar .site-nav > a.is-current {
    color: var(--us-navy-deep, #061c3b) !important;
    text-decoration: underline !important;
    text-decoration-thickness: 0.12rem !important;
    text-underline-offset: 0.34rem !important;
  }

  html body[data-page] .site-header.title-bar .site-nav > .mokozoo-language-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-self: center !important;
    width: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body[data-page] .site-header.title-bar .mokozoo-language-menu-trigger {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--us-navy, #08274f) !important;
  }

  html body[data-page] .site-header.title-bar .mokozoo-language-menu-trigger::after {
    content: none !important;
    display: none !important;
  }

  html body[data-page] .site-header.title-bar .mokozoo-language-menu-icon,
  html body[data-page] .site-header.title-bar .mokozoo-language-menu-icon svg {
    width: 1.75rem !important;
    height: 1.75rem !important;
  }

  html body[data-page] .site-header.title-bar > .nav-cta {
    display: none !important;
  }

  html body[data-page] .site-header.title-bar .nav-account {
    grid-column: 3 !important;
    display: block !important;
    justify-self: end !important;
  }

  html body[data-page] .site-header.title-bar .nav-account > .nav-cta:not([hidden]) {
    display: inline-flex !important;
  }
}

@media (min-width: 901px) {
  html body[data-page="contact"] .site-header.title-bar {
    width: calc(100vw - clamp(5rem, 10vw, 9rem)) !important;
    max-width: 108rem !important;
    margin: 0.9rem auto 0 !important;
    padding: 0.78rem clamp(1.2rem, 1.8vw, 1.55rem) !important;
  }

  html body[data-page="contact"] .site-header.title-bar .brand,
  html body[data-page="contact"] .site-header.title-bar .brand img {
    width: clamp(12.6rem, 12.9vw, 13.55rem) !important;
    min-width: clamp(12.6rem, 12.9vw, 13.55rem) !important;
    max-width: clamp(12.6rem, 12.9vw, 13.55rem) !important;
    min-height: clamp(3.3rem, 3.7vw, 3.75rem) !important;
  }

  html body[data-page="contact"] .site-header.title-bar .brand::before {
    font-size: clamp(3.15rem, 3.45vw, 3.55rem) !important;
  }

  html body[data-page="contact"] .site-header.title-bar .brand::after {
    right: 0.35rem !important;
  }

  html body[data-page="contact"] .site-header.title-bar .site-nav {
    gap: clamp(1.1rem, 1.25vw, 1.55rem) !important;
    min-height: 3rem !important;
    font-size: clamp(1rem, 1.08vw, 1.13rem) !important;
  }

  html body[data-page="contact"] .site-header.title-bar .site-nav > a.is-current {
    text-decoration-color: var(--contact-orange, #e56a1f) !important;
  }

  html body[data-page="contact"] .site-header.title-bar .nav-account > .nav-cta:not([hidden]),
  html body[data-page="contact"] .site-header.title-bar > .nav-cta {
    min-width: clamp(7.9rem, 8.2vw, 8.7rem) !important;
    min-height: 2.85rem !important;
    font-size: clamp(0.9rem, 0.94vw, 0.98rem) !important;
  }
}

/* Homepage hero contract: the Route 66 scene starts behind the title bar. */
html body[data-page="home"] .site-header.title-bar {
  position: absolute !important;
  top: clamp(0.75rem, 2vw, 1.7rem) !important;
  left: 50% !important;
  z-index: 80 !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

html body[data-page="home"] .home-hero-section {
  margin-top: 0 !important;
}

html body[data-page="home"] .site-header.title-bar + .home-hero-section {
  min-height: 100svh !important;
}

@media (min-width: 961px) and (max-width: 1180px) {
  html body[data-page="home"] .site-header.title-bar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: clamp(0.7rem, 1.25vw, 1rem) !important;
    padding: 0.62rem clamp(0.72rem, 1.4vw, 1.05rem) !important;
  }

  html body[data-page="home"] .site-header.title-bar .brand,
  html body[data-page="home"] .site-header.title-bar .brand img {
    width: clamp(8.2rem, 12vw, 9.4rem) !important;
    min-width: clamp(8.2rem, 12vw, 9.4rem) !important;
    max-width: clamp(8.2rem, 12vw, 9.4rem) !important;
    min-height: clamp(2.8rem, 3.7vw, 3.35rem) !important;
  }

  html body[data-page="home"] .site-header.title-bar .nav-toggle,
  html body[data-page="home"] .site-header.title-bar > .nav-cta,
  html body[data-page="home"] .site-header.title-bar .nav-account {
    display: none !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(7, max-content) !important;
    align-items: center !important;
    justify-content: end !important;
    gap: clamp(0.52rem, 1vw, 0.86rem) !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--us-navy, #08274f) !important;
    font-family: var(--font-display, var(--font-sans)) !important;
    font-size: clamp(0.74rem, 1.15vw, 0.94rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > :is(a, button) {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 2.35rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > :is(a, button)::before,
  html body[data-page="home"] .site-header.title-bar .site-nav > :is(a, button)::after {
    content: none !important;
    display: none !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > .mokozoo-language-menu {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-trigger {
    width: 2.2rem !important;
    min-width: 2.2rem !important;
    min-height: 2.2rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--us-navy, #08274f) !important;
  }

  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-icon,
  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-icon svg {
    width: 1.42rem !important;
    height: 1.42rem !important;
  }
}

/* Site-wide responsive title QA normalization. */
@media (max-width: 1180px) {
  html body[data-page] :is(
    .landing-hero-card,
    .module-hero-card,
    .products-hero-layout,
    .payment-hero,
    .store-hero,
    .store-hero-layout,
    .stories-hero,
    .contact-preview-hero-layout,
    .contact-hero-layout,
    .custom-hero-layout,
    .partners-hero-layout,
    .ip-design-hero-grid,
    .auth-utility-shell-split,
    .product-detail-hero
  ) {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    text-align: center !important;
  }

  html body[data-page="home"] .landing-hero-card.hero-section-layout,
  html[lang="zh-CN"] body[data-page="home"] .landing-hero-card.hero-section-layout,
  html[lang="es"] body[data-page="home"] .landing-hero-card.hero-section-layout,
  html body[data-page="showcase"] .store-hero.page-hero,
  html body[data-page="stories"] .stories-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  html body[data-page] :is(
    .hero-copy,
    .module-hero-copy,
    .products-hero-copy,
    .products-hero-main,
    .payment-hero-copy,
    .store-hero-copy,
    .stories-hero-copy,
    .contact-preview-hero-copy,
    .contact-hero-copy,
    .custom-hero-copy,
    .partners-hero-copy,
    .ip-design-copy,
    .process-header,
    .product-detail-copy,
    .auth-benefit-panel
  ) {
    width: min(100%, 46rem) !important;
    max-width: 46rem !important;
    justify-items: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html body[data-page="showcase"] .store-hero-copy,
  html body[data-page="stories"] .stories-hero-copy {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body[data-page="showcase"] .store-gallery-head {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    text-align: center !important;
  }

  html body[data-page="showcase"] .store-hero-media {
    justify-self: center !important;
    width: min(100%, 12rem) !important;
  }

  html body[data-page="orders"] .orders-page-shell,
  html body[data-page="orders"] .orders-hero {
    justify-items: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html body[data-page="orders"] .orders-hero {
    justify-self: center !important;
    width: min(100%, 44rem) !important;
  }

  html body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ),
  html[lang="zh-CN"] body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ),
  html[lang="es"] body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ) {
    width: min(calc(100vw - 2rem), 16ch) !important;
    max-width: min(calc(100vw - 2rem), 16ch) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    color: var(--us-navy, #08274f) !important;
    font-family: var(--font-display, var(--font-sans)) !important;
    font-size: clamp(2.35rem, 6vw, 4.15rem) !important;
    font-weight: 900 !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  html body[data-page="home"] .landing-hero-card .hero-main-title,
  html[lang="zh-CN"] body[data-page="home"] .landing-hero-card .hero-main-title,
  html[lang="es"] body[data-page="home"] .landing-hero-card .hero-main-title {
    width: min(calc(100vw - 2rem), 12ch) !important;
    max-width: min(calc(100vw - 2rem), 12ch) !important;
    font-size: clamp(3.05rem, 8vw, 5.35rem) !important;
  }

  html body[data-page] :is(
    .hero-main-title > span,
    .module-title > span,
    .custom-page-title > span,
    .partners-page-title > span,
    .contact-page-title > span,
    .products-hero-main h1 > span,
    .process-header h1 > span
  ) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  html body[data-page] :is(
    .hero-title-secondary,
    .custom-page-title span:last-child,
    .partners-page-title span:last-child,
    .contact-page-title span:last-child
  ),
  html[lang="zh-CN"] body[data-page] :is(
    .hero-title-secondary,
    .custom-page-title span:last-child,
    .partners-page-title span:last-child,
    .contact-page-title span:last-child
  ),
  html[lang="es"] body[data-page] :is(
    .hero-title-secondary,
    .custom-page-title span:last-child,
    .partners-page-title span:last-child,
    .contact-page-title span:last-child
  ) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: 0.86em !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: none !important;
  }

  html body[data-page] :is(
    .hero-main-title::after,
    .custom-page-title span:first-child::after,
    .partners-page-title span:first-child::after,
    .contact-page-title::after,
    .contact-preview-title-text::after,
    .ip-design-title::after,
    .store-hero.page-hero .hero-main-title::after,
    .payment-hero h1::after
  ) {
    right: auto !important;
    left: 50% !important;
    width: min(8.5rem, 42vw) !important;
    max-width: 100% !important;
    transform: translateX(-50%) !important;
  }

  html body[data-page] :is(
    .module-kicker,
    .products-hero-kicker,
    .ip-design-kicker,
    .contact-kicker,
    .process-chip,
    .product-detail-kicker
  ) {
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html body[data-page] :is(
    .module-copy,
    .products-hero-description,
    .payment-hero-copy p:last-child,
    .store-hero-description,
    .custom-hero-lead,
    .partners-hero-lead,
    .ip-design-lead,
    .ip-design-note,
    .process-header p,
    .product-detail-description,
    .contact-preview-hero-copy p,
    .contact-hero-copy p,
    .stories-hero-copy > p:not(.stories-kicker)
  ) {
    width: min(100%, 44rem) !important;
    max-width: 44rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
    color: rgba(11, 24, 43, 0.74) !important;
    font-size: clamp(1rem, 1.55vw, 1.14rem) !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-wrap: balance !important;
  }

  html body[data-page] :is(
    .hero-cta-row,
    .module-actions,
    .products-hero-actions,
    .payment-hero-actions,
    .custom-hero-actions,
    .partners-hero-actions,
    .ip-design-actions,
    .contact-hero-actions,
    .product-detail-actions,
    .stories-actions
  ) {
    justify-content: center !important;
    justify-items: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html body[data-page] :is(
    .module-section-head,
    .auth-panel-head,
    .contact-form-head
  ) {
    justify-content: center !important;
    justify-items: center !important;
    text-align: center !important;
  }

  html body[data-page] :is(
    .auth-panel h1,
    .auth-panel-head h1,
    .contact-form-head h1,
    .module-section-head h2
  ),
  html[lang="zh-CN"] body[data-page] :is(
    .auth-panel h1,
    .auth-panel-head h1,
    .contact-form-head h1,
    .module-section-head h2
  ),
  html[lang="es"] body[data-page] :is(
    .auth-panel h1,
    .auth-panel-head h1,
    .contact-form-head h1,
    .module-section-head h2
  ) {
    width: min(100%, 18ch) !important;
    max-width: 18ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-family: var(--font-display, var(--font-sans)) !important;
    font-size: clamp(1.75rem, 4vw, 2.55rem) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-wrap: balance !important;
  }

  html body[data-page] :is(.auth-panel-lead, .module-section-head p) {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html body[data-page="showcase"] .store-hero-flags {
    justify-content: center !important;
  }

  html body[data-page="stories"] .stories-hero h1,
  html body[data-page="stories"] .stories-hero h1#stories-title,
  html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1,
  html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1#stories-title,
  html[lang="es"] body[data-page="stories"] .stories-hero h1,
  html[lang="es"] body[data-page="stories"] .stories-hero h1#stories-title {
    color: #fffaf0 !important;
  }

  html body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker),
  html[lang="zh-CN"] body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker),
  html[lang="es"] body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker) {
    color: rgba(255, 255, 255, 0.82) !important;
  }

  html body[data-page="product-detail"] .product-detail-page {
    width: min(calc(100% - clamp(1rem, 4vw, 2.75rem)), 58rem) !important;
    padding-top: clamp(5rem, 8vw, 6.2rem) !important;
  }

  html body[data-page="product-detail"] .product-detail-hero {
    width: 100% !important;
    max-width: 58rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html body[data-page="product-detail"] :is(.product-detail-media-shell, .product-detail-copy) {
    width: min(100%, 58rem) !important;
    max-width: 58rem !important;
  }

  html body[data-page="product-detail"] .product-detail-copy {
    order: -1 !important;
    align-content: start !important;
    justify-items: center !important;
  }

  html body[data-page="product-detail"] .product-detail-badges {
    justify-content: center !important;
  }

  html body[data-page="product-detail"] .product-detail-price-row {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  html body[data-page="product-detail"] .product-detail-facts {
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(10rem, 1fr)) !important;
  }

  html body[data-page="product-detail"] .product-detail-facts :is(div, dt, dd) {
    text-align: center !important;
  }

  html body[data-page="soccer-bear-keychain"] .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body[data-page="soccer-bear-keychain"] .product-detail-summary {
    justify-items: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html body[data-page="soccer-bear-keychain"] .product-detail-facts {
    grid-template-columns: repeat(2, minmax(9rem, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  html body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ),
  html[lang="zh-CN"] body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ),
  html[lang="es"] body[data-page] :is(
    .hero-main-title,
    .module-title,
    .products-hero-main h1,
    .payment-hero h1,
    .store-hero.page-hero .hero-main-title,
    .ip-design-title,
    .custom-page-title,
    .partners-page-title,
    .stories-hero h1,
    .contact-preview-title-text,
    .contact-page-title,
    .process-header h1,
    .product-detail-copy h1
  ) {
    width: min(calc(100vw - 1.25rem), 13ch) !important;
    max-width: min(calc(100vw - 1.25rem), 13ch) !important;
    font-size: clamp(2.05rem, 10.5vw, 3.35rem) !important;
    line-height: 1 !important;
  }

  html body[data-page="home"] .landing-hero-card .hero-main-title,
  html[lang="zh-CN"] body[data-page="home"] .landing-hero-card .hero-main-title,
  html[lang="es"] body[data-page="home"] .landing-hero-card .hero-main-title {
    width: min(calc(100vw - 1.25rem), 10ch) !important;
    max-width: min(calc(100vw - 1.25rem), 10ch) !important;
    font-size: clamp(2.65rem, 13vw, 4.1rem) !important;
  }

  html body[data-page] :is(
    .module-copy,
    .products-hero-description,
    .payment-hero-copy p:last-child,
    .store-hero-description,
    .custom-hero-lead,
    .partners-hero-lead,
    .ip-design-lead,
    .ip-design-note,
    .process-header p,
    .product-detail-description,
    .contact-preview-hero-copy p,
    .contact-hero-copy p
  ) {
    font-size: clamp(0.92rem, 3.8vw, 1.04rem) !important;
    line-height: 1.42 !important;
  }

  html body[data-page="product-detail"] .product-detail-page {
    width: calc(100% - 0.75rem) !important;
  }

  html body[data-page="product-detail"] .product-detail-facts,
  html body[data-page="soccer-bear-keychain"] .product-detail-facts {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Home page ChatGPT target: tighter desktop navigation with an orange active cue. */
@media (min-width: 1181px) {
  html body[data-page="home"] .site-header.title-bar {
    width: min(calc(100vw - clamp(5.8rem, 11.8vw, 11.2rem)), 80rem) !important;
    grid-template-columns: minmax(11rem, 1fr) auto minmax(11rem, 1fr) !important;
    padding: 0.72rem clamp(1.1rem, 1.55vw, 1.45rem) !important;
    border-radius: clamp(1.25rem, 1.45vw, 1.55rem) !important;
    background: rgba(247, 243, 234, 0.94) !important;
    box-shadow: 0 18px 44px rgba(8, 39, 79, 0.1) !important;
    backdrop-filter: blur(8px) saturate(1.05) !important;
  }

  html body[data-page="home"] .site-header.title-bar .brand,
  html body[data-page="home"] .site-header.title-bar .brand img {
    width: clamp(9.9rem, 10.6vw, 10.9rem) !important;
    min-width: clamp(9.9rem, 10.6vw, 10.9rem) !important;
    max-width: clamp(9.9rem, 10.6vw, 10.9rem) !important;
    min-height: clamp(3rem, 3.28vw, 3.45rem) !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav {
    gap: clamp(1.28rem, 1.65vw, 1.95rem) !important;
    min-height: 2.75rem !important;
    font-size: clamp(0.92rem, 0.98vw, 1.05rem) !important;
    line-height: 1 !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > :is(a, button) {
    position: relative !important;
    min-height: 2.4rem !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > [data-title-bar-item="home"] {
    color: var(--us-navy-deep, #061c3b) !important;
    text-decoration: none !important;
  }

  html body[data-page="home"] .site-header.title-bar .site-nav > [data-title-bar-item="home"]::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0.08rem !important;
    display: block !important;
    width: 100% !important;
    height: 0.18rem !important;
    border-radius: 999px !important;
    background: #f28b22 !important;
  }

  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-trigger {
    width: 2.35rem !important;
    min-width: 2.35rem !important;
    min-height: 2.35rem !important;
  }

  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-icon,
  html body[data-page="home"] .site-header.title-bar .mokozoo-language-menu-icon svg {
    width: 1.45rem !important;
    height: 1.45rem !important;
  }

  html body[data-page="home"] .site-header.title-bar .nav-account > .nav-cta:not([hidden]),
  html body[data-page="home"] .site-header.title-bar > .nav-cta {
    min-width: clamp(7.6rem, 8.2vw, 8.5rem) !important;
    min-height: 2.7rem !important;
    border-width: 2px !important;
    font-size: clamp(0.88rem, 0.92vw, 0.98rem) !important;
  }
}

@media (max-width: 860px) {
  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy {
    text-align: left !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title {
    width: 100% !important;
    max-width: 10.5em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(1.5rem, 6.05vw, 1.74rem) !important;
    line-height: 1.06 !important;
    text-align: left !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span {
    text-align: left !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
}

/* Store tablet pass: keep the 768px resize view compact instead of a tall centered mobile hero. */
@media (min-width: 761px) and (max-width: 860px) {
  html body[data-page="showcase"] .store-gallery-head {
    grid-template-columns: minmax(0, 1fr) minmax(8.4rem, 10rem) !important;
    justify-items: stretch !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 1rem !important;
    text-align: left !important;
  }

  html body[data-page="showcase"] .store-hero-copy {
    width: 100% !important;
    max-width: none !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="showcase"] .store-hero-description {
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="showcase"] .store-hero.page-hero .hero-main-title,
  html[lang="zh-CN"] body[data-page="showcase"] .store-hero.page-hero .hero-main-title,
  html[lang="es"] body[data-page="showcase"] .store-hero.page-hero .hero-main-title {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="showcase"] .store-hero-subtitle {
    text-align: left !important;
  }

  html body[data-page="showcase"] .store-hero-media {
    justify-self: end !important;
    width: min(100%, 10rem) !important;
    height: 10.4rem !important;
  }

  html body[data-page="showcase"] .store-hero-flags {
    grid-column: 1 / 2 !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
  }

  html body[data-page="showcase"] .store-hero-flags span,
  html body[data-page="showcase"] .store-hero-flags a {
    min-width: min(100%, 8.2rem) !important;
    min-height: 2.6rem !important;
    padding: 0.48rem 0.7rem !important;
    font-size: 0.82rem !important;
  }
}

/* Partners page ChatGPT target: undo shared centered-title rules for tablet/mobile. */
@media (min-width: 761px) and (max-width: 1180px) {
  html body[data-page="partners"] .partners-hero-layout {
    grid-template-columns: minmax(0, 0.52fr) minmax(15rem, 0.48fr) !important;
    grid-template-areas:
      "copy scene"
      "routes routes" !important;
    justify-items: stretch !important;
    align-items: center !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-hero-copy {
    width: 100% !important;
    max-width: none !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title,
  html[lang="en"] body[data-page="partners"] .partners-page-title,
  html[lang="es"] body[data-page="partners"] .partners-page-title {
    width: 100% !important;
    max-width: 12em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(2.1rem, 4.2vw, 3.05rem) !important;
    line-height: 1.02 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title > span,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title > span,
  html[lang="en"] body[data-page="partners"] .partners-page-title > span,
  html[lang="es"] body[data-page="partners"] .partners-page-title > span {
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="en"] body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="es"] body[data-page="partners"] .partners-page-title span:last-child {
    margin-top: 0.26rem !important;
    font-size: clamp(1.08rem, 2.4vw, 1.55rem) !important;
    line-height: 1.08 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-hero-lead,
  html[lang="zh-CN"] body[data-page="partners"] .partners-hero-lead,
  html[lang="en"] body[data-page="partners"] .partners-hero-lead,
  html[lang="es"] body[data-page="partners"] .partners-hero-lead {
    width: 100% !important;
    max-width: 34rem !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-hero-actions {
    justify-content: flex-start !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 760px) {
  html body[data-page="partners"] .partners-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "copy"
      "scene"
      "routes" !important;
    justify-items: stretch !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-hero-copy {
    width: 100% !important;
    max-width: none !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title,
  html[lang="en"] body[data-page="partners"] .partners-page-title,
  html[lang="es"] body[data-page="partners"] .partners-page-title {
    width: 100% !important;
    max-width: 11em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(2.02rem, 9.2vw, 2.72rem) !important;
    line-height: 1.04 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title > span,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title > span,
  html[lang="en"] body[data-page="partners"] .partners-page-title > span,
  html[lang="es"] body[data-page="partners"] .partners-page-title > span {
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="zh-CN"] body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="en"] body[data-page="partners"] .partners-page-title span:last-child,
  html[lang="es"] body[data-page="partners"] .partners-page-title span:last-child {
    margin-top: 0.2rem !important;
    font-size: clamp(1.1rem, 5.2vw, 1.42rem) !important;
    line-height: 1.08 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-page-title span:first-child::after {
    left: auto !important;
    width: auto !important;
    transform: none !important;
  }

  html body[data-page="partners"] .partners-hero-lead,
  html[lang="zh-CN"] body[data-page="partners"] .partners-hero-lead,
  html[lang="en"] body[data-page="partners"] .partners-hero-lead,
  html[lang="es"] body[data-page="partners"] .partners-hero-lead {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  html body[data-page="partners"] .partners-hero-actions {
    width: 100% !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Custom Service page ChatGPT target: keep tablet/mobile hero practical and readable. */
@media (min-width: 761px) and (max-width: 1180px) {
  html body[data-page="custom-service"] .custom-hero-layout {
    grid-template-columns: minmax(0, 0.52fr) minmax(15rem, 0.48fr) !important;
    justify-items: stretch !important;
    align-items: center !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-copy {
    width: 100% !important;
    max-width: none !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title {
    width: 100% !important;
    max-width: 12em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(2.1rem, 4.2vw, 3.05rem) !important;
    line-height: 1.05 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title > span,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title > span,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title > span,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title > span {
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title span:last-child {
    margin-top: 0.22rem !important;
    font-size: clamp(1.08rem, 2.4vw, 1.55rem) !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-lead,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-hero-lead,
  html[lang="en"] body[data-page="custom-service"] .custom-hero-lead,
  html[lang="es"] body[data-page="custom-service"] .custom-hero-lead {
    width: 100% !important;
    max-width: 34rem !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-actions {
    justify-content: flex-start !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 760px) {
  html body[data-page="custom-service"] .custom-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-copy {
    width: 100% !important;
    max-width: none !important;
    justify-items: start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title {
    width: 100% !important;
    max-width: 11em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(2.05rem, 9.2vw, 2.72rem) !important;
    line-height: 1.04 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title > span,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title > span,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title > span,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title > span {
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="en"] body[data-page="custom-service"] .custom-page-title span:last-child,
  html[lang="es"] body[data-page="custom-service"] .custom-page-title span:last-child {
    margin-top: 0.2rem !important;
    font-size: clamp(1.1rem, 5.2vw, 1.42rem) !important;
    line-height: 1.08 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-lead,
  html[lang="zh-CN"] body[data-page="custom-service"] .custom-hero-lead,
  html[lang="en"] body[data-page="custom-service"] .custom-hero-lead,
  html[lang="es"] body[data-page="custom-service"] .custom-hero-lead {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  html body[data-page="custom-service"] .custom-hero-actions {
    width: 100% !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Root UI optimization: match the ChatGPT mobile target while preserving the Route 66 product scene. */
@media (min-width: 1181px) {
  html[lang="es"] body[data-page="home"] .landing-hero-card .hero-copy {
    width: min(100%, 46.5rem) !important;
    max-width: 46.5rem !important;
  }

  html[lang="es"] body[data-page="home"] .landing-hero-card .hero-main-title {
    width: min(100%, 11.2em) !important;
    max-width: min(100%, 11.2em) !important;
    font-size: clamp(3.85rem, 4.55vw, 4.45rem) !important;
    line-height: 1.01 !important;
  }

  html[lang="es"] body[data-page="home"] .landing-hero-card .hero-market-copy {
    max-width: 39rem !important;
    font-size: clamp(1.12rem, 1.22vw, 1.28rem) !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 860px) {
  html body[data-page="home"] .site-header.title-bar {
    width: min(100%, calc(100vw - 1.25rem)) !important;
    padding: 0.7rem 0.82rem !important;
    border-radius: 1rem !important;
    background: rgba(247, 243, 234, 0.96) !important;
  }

  html body[data-page="home"] .site-header.title-bar .brand,
  html body[data-page="home"] .site-header.title-bar .brand img {
    width: clamp(9.25rem, 42vw, 10.75rem) !important;
    min-width: clamp(9.25rem, 42vw, 10.75rem) !important;
    max-width: clamp(9.25rem, 42vw, 10.75rem) !important;
    min-height: clamp(2.8rem, 12vw, 3.25rem) !important;
  }

  html body[data-page="home"] .site-header.title-bar .nav-toggle {
    min-width: clamp(4.95rem, 21vw, 5.7rem) !important;
    min-height: clamp(2.55rem, 10vw, 2.85rem) !important;
    padding-inline: clamp(0.72rem, 3vw, 0.95rem) !important;
  }

  html body[data-page="home"] .site-header.title-bar + .home-hero-section,
  html body[data-page="home"] .home-hero-section {
    height: auto !important;
    min-height: 100svh !important;
    padding-bottom: 0.75rem !important;
  }

  html body[data-page="home"] .landing-hero-card.hero-section-layout {
    gap: 0 !important;
    grid-template-rows: minmax(0, clamp(20.25rem, 45.5svh, 26rem)) auto !important;
    min-height: 0 !important;
    padding: clamp(4.85rem, 13svh, 5.4rem) 0 0 !important;
  }

  html body[data-page="home"] .landing-hero-card .hero-frame {
    height: clamp(20.25rem, 45.5svh, 26rem) !important;
  }

  html body[data-page="home"] .landing-hero-card .media-preview-stack,
  html body[data-page="home"] .landing-hero-card .media-preview-card,
  html body[data-page="home"] .landing-hero-card .media-preview-card img {
    height: 100% !important;
  }

  html body[data-page="home"] .landing-hero-card .media-preview-card img {
    object-position: 68% center !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy {
    width: calc(100% - 1rem) !important;
    max-width: 37rem !important;
    margin: -0.25rem auto 0 !important;
    padding: clamp(1.08rem, 4.4vw, 1.32rem) clamp(0.92rem, 4vw, 1.2rem) clamp(0.9rem, 3.6vw, 1.12rem) !important;
    border: 1px solid rgba(8, 39, 79, 0.11) !important;
    border-radius: 1.55rem !important;
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(247, 243, 234, 0.98)) !important;
    box-shadow: 0 18px 42px rgba(8, 39, 79, 0.13) !important;
    text-align: center !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title {
    width: 100% !important;
    max-width: 12.4em !important;
    margin-inline: auto !important;
    font-size: clamp(1.7rem, 7.2vw, 2.14rem) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span {
    text-align: center !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:first-child,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:first-child {
    display: inline !important;
    width: auto !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:first-child::after,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:first-child::after {
    content: " " !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:nth-child(2),
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title > span:nth-child(2) {
    display: inline !important;
    width: auto !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-title-secondary,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-title-secondary {
    display: block !important;
    margin-top: 0.1em !important;
  }

  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title {
    max-width: 9.8em !important;
    font-size: clamp(1.85rem, 7.8vw, 2.28rem) !important;
  }

  html body[data-page="home"] .hero-star-divider {
    width: min(13.5rem, 100%) !important;
    margin-block: 0.72rem 0.64rem !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy > .hero-market-copy {
    max-width: 26rem !important;
    margin-inline: auto !important;
    color: rgba(8, 39, 79, 0.82) !important;
    font-size: clamp(0.86rem, 3.45vw, 0.96rem) !important;
    line-height: 1.32 !important;
    text-align: center !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card .hero-cta-row,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-cta-row,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-cta-row {
    width: min(100%, 27rem) !important;
    max-width: 27rem !important;
    margin: clamp(0.72rem, 2.7vw, 0.9rem) auto 0 !important;
    gap: 0.58rem !important;
  }

  html body[data-page="home"] .home-hero-section .landing-hero-card .hero-primary-action,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-primary-action,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-primary-action,
  html body[data-page="home"] .home-hero-section .landing-hero-card .hero-phone-action,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-phone-action,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card .hero-phone-action {
    min-height: clamp(2.72rem, 8vw, 3rem) !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip {
    width: calc(100% - 1rem) !important;
    min-height: 4.85rem !important;
    margin: 0.42rem auto 0 !important;
    padding: 0.48rem 0.32rem !important;
    border: 1px solid rgba(8, 39, 79, 0.1) !important;
    border-radius: 1.2rem !important;
    background: rgba(255, 252, 245, 0.96) !important;
    box-shadow: 0 16px 36px rgba(8, 39, 79, 0.12) !important;
    color: var(--us-navy, #08274f) !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip a,
  html body[data-page="home"] .home-hero-section > .hero-service-strip button,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip a,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip button,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip a,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip button {
    min-height: 3.85rem !important;
    padding: 0.32rem 0.1rem !important;
    border-left: 1px solid rgba(8, 39, 79, 0.12) !important;
    color: inherit !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip a:first-child,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip a:first-child,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip a:first-child {
    border-left: 0 !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip iconify-icon,
  html body[data-page="home"] .home-hero-section > .hero-service-strip .hero-service-icon,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip iconify-icon,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip .hero-service-icon,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip iconify-icon,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip .hero-service-icon {
    width: clamp(1.35rem, 5vw, 1.65rem) !important;
    font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
    color: var(--us-navy, #08274f) !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip span,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip span,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip span {
    display: block !important;
    max-width: 7.6em !important;
    color: inherit !important;
    font-size: clamp(0.56rem, 2.35vw, 0.66rem) !important;
    line-height: 1.05 !important;
  }

  html body[data-page="home"] .home-hero-section > .hero-service-strip strong,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section > .hero-service-strip strong,
  html[lang="es"] body[data-page="home"] .home-hero-section > .hero-service-strip strong {
    display: none !important;
  }
}

@media (max-width: 380px) {
  html body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="zh-CN"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title,
  html[lang="es"] body[data-page="home"] .home-hero-section .landing-hero-card.hero-section-layout .hero-copy .hero-main-title {
    font-size: clamp(1.48rem, 6.4vw, 1.72rem) !important;
  }
}
