/**
 * Shared chrome: pricing / login / register / dashboard top bar + a11y baseline.
 * Pair with assets/lang.css for bilingual UI.
 */
:root {
  --mj-shell-ink: #f1f5f9;
  --mj-shell-muted: #94a3b8;
  --mj-shell-line: rgba(148, 163, 184, 0.18);
  --mj-shell-focus: #818cf8;
}

.mj-skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #1e1b4b;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.mj-skip-link:focus {
  left: 0.75rem;
  outline: 2px solid var(--mj-shell-focus);
  outline-offset: 2px;
}

.mj-v2-top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.82);
  border-bottom: 1px solid var(--mj-shell-line);
}
.mj-shell-header--dense .mj-v2-top {
  background: rgba(3, 7, 18, 0.85);
}

.mj-v2-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mj-shell-header--wide .mj-v2-top-inner {
  max-width: 1280px;
  padding: 0.65rem 1.25rem;
}

.mj-v2-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.mj-v2-brand-mj {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--mj-shell-ink);
  text-decoration: none;
}
.mj-v2-brand-mj:hover {
  color: #fff;
}

.mj-v2-shopify-logo-link {
  display: block;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.mj-v2-shopify-logo-link:hover {
  opacity: 1;
}
.mj-v2-shopify-logo-link img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .mj-v2-shopify-logo-link img {
    height: 24px;
  }
}

.mj-v2-navtx {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 500;
}
.mj-v2-navtx a {
  color: var(--mj-shell-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s;
}
.mj-v2-navtx a:hover {
  color: var(--mj-shell-ink);
}

/* Keyboard focus — visible only when tabbing */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mj-shell-focus);
  outline-offset: 2px;
}
