/* One mobile header layout for the home and every public inner page. */
@media (max-width: 700px) {
  body > .public-logo-reveal {
    display: inline-flex !important;
    gap: 4px !important;
    height: 32px !important;
    left: 50% !important;
    min-width: 112px !important;
    top: 10px !important;
    transform: translateX(-50%) !important;
    width: 112px !important;
    z-index: 200 !important;
  }

  /* The source gives inner pages a separate desktop-style header. Flatten it
     to the same two-column bar already used by the mobile home. */
  body .site-shell > .public-site-header,
  body .site-header.public-site-header,
  body .store-creation .site-header {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 80 !important;
  }

  body .site-shell > .public-site-header .public-logo-placeholder,
  body .site-header.public-site-header .public-logo-placeholder,
  body .store-creation .site-header .public-logo-placeholder {
    display: none !important;
  }

  body .site-shell > .public-site-header .site-header-actions,
  body .site-header.public-site-header .site-header-actions,
  body .store-creation .site-header .site-header-actions {
    gap: 0 !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body .site-shell > .public-site-header .locale-trigger,
  body .site-header.public-site-header .locale-trigger,
  body .store-creation .site-header .locale-trigger {
    height: 38px !important;
    padding: 0 8px !important;
  }

  /* The home already paints these two menu strokes dark; apply that same
     treatment to the header reused by store and contact pages. */
  body .site-shell > .public-site-header .site-menu-mark i,
  body .site-header.public-site-header .site-menu-mark i,
  body .store-creation .site-header .site-menu-mark i {
    background: #1c211d !important;
  }

  /* Keep this hidden independently of copy or selected language. */
  body .site-shell > .public-site-header .site-header-cta,
  body .site-header.public-site-header .site-header-cta,
  body .store-creation .site-header .site-header-cta {
    display: none !important;
  }
}
