/* GE2studio 1.12.12 — mobile fixes based on the public 1.12.11 audit.
 * The inherited header reserved 46px for a navigation root which now contains
 * both the language switcher and the menu. Reserve the actual controls' width.
 */
@media (max-width: 1100px) {
  body.ge2studio-editorial-clarity .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) max-content !important;
  }

  body.ge2studio-editorial-clarity .site-header .navigation-root {
    display: flex;
    align-items: center;
    justify-self: end;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
    gap: .5rem;
  }

  body.ge2studio-editorial-clarity .site-header .ge2studio-language-switcher {
    flex: 0 0 auto;
    gap: .25rem;
    margin: 0;
    font-size: .875rem;
  }

  body.ge2studio-editorial-clarity .site-header .ge2studio-language-switcher a {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  body.ge2studio-editorial-clarity .site-header .mobile-navigation,
  body.ge2studio-editorial-clarity .site-header .mobile-menu-toggle {
    flex: 0 0 3rem;
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
  }
}

/* The parent placed the assistant over the language control on smartphones.
 * Restore its lower corner, keeping the text and supported voice controls.
 * The hidden attribute continues to govern unavailable browser voice support.
 */
@media (max-width: 768px) {
  body.ge2studio-editorial-clarity .ge2-contact-widget,
  body.ge2studio-editorial-clarity.admin-bar .ge2-contact-widget {
    top: auto;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  body.ge2studio-editorial-clarity .ge2-contact-launchers {
    flex-direction: row;
    gap: .75rem;
  }

  body.ge2studio-editorial-clarity .ge2-contact-launchers .ge2-contact-launcher {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
  }

  body.ge2studio-editorial-clarity .ge2-contact-launchers .ge2-voice-launcher:not([hidden]) {
    display: grid;
  }
}

/* The launch note is on paper; use the same dark ink as other paper labels. */
body.ge2studio-editorial-clarity .offer-page .offer-variable-note > span {
  color: #57514a;
  opacity: 1;
}
