/* IVORA mobile navigation: keep the header inside the screen on phones.
   Wordmark on its own row, then links and contact buttons wrap centered underneath. */
@media(max-width:750px){
  html body > .ivora-unified-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important;width:100%!important;max-width:100vw!important;box-sizing:border-box!important;padding:12px 10px!important;overflow-x:clip!important}
  html body > .ivora-unified-nav .ivora-wordmark{flex:0 0 100%!important;text-align:center!important;font-size:30px!important}
  html body > .ivora-unified-nav .ivora-links{flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px 6px!important;margin:0!important;padding:0!important}
  html body > .ivora-unified-nav .ivora-links a{font-size:14px!important;line-height:1.3!important;padding:7px 8px!important;white-space:nowrap!important;max-width:100%!important}
  html body > .ivora-unified-nav .ivora-links .ivora-cart{padding:7px 14px!important}
  html body > .ivora-unified-nav .ivora-header-actions{flex:1 1 100%!important;width:100%!important;margin:2px 0 0!important;justify-content:center!important;flex-wrap:wrap!important;flex-shrink:1!important;min-width:0!important}
}
@media(max-width:360px){
  html body > .ivora-unified-nav .ivora-links a{font-size:13px!important;padding:6px 6px!important}
}

/* Home page AI Research Assistant panel: let the link drop below the text on phones */
@media(max-width:600px){
  #research > div[style*="justify-content:space-between"]{flex-wrap:wrap!important}
}
