/* ═══════════════════════════════════════════════════════════════════
   Components — buttons, cards, nav, mockups, dashboard snippets
   Brand-aware: all accent surfaces read --c-accent (set by data-brand).
   ═══════════════════════════════════════════════════════════════════ *//* ════════════════ BUTTONS ════════════════ */


.btn {
  --btn-py: 11px;
  --btn-px: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
  text-decoration: none;
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn .btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn--sm {
  --btn-py: 7px;
  --btn-px: 14px;
  font-size: var(--fs-xs);
}

.btn--lg {
  --btn-py: 14px;
  --btn-px: 28px;
  font-size: var(--fs-body);
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-ink-0);
  box-shadow: var(--glow-accent), var(--sh-sm);
}

.btn--primary:hover {
  background: var(--c-accent-hover);
  color: var(--c-ink-0);
  transform: translateY(-1px);
  box-shadow: var(--glow-accent), var(--sh-md);
}

.btn--secondary {
  background: var(--c-ink-0);
  color: var(--c-ink-9);
  border-color: var(--c-ink-3);
  box-shadow: var(--sh-xs);
}

.btn--secondary:hover {
  border-color: var(--c-ink-4);
  background: var(--c-ink-1);
  color: var(--c-ink-9);
}/* ════════════════ BADGES / PILLS ════════════════ */


.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(var(--c-accent-rgb), 0.06);
  color: var(--c-accent);
  border: 1px solid rgba(var(--c-accent-rgb), 0.28);
  box-shadow: 0 1px 2px rgba(var(--c-accent-rgb), 0.04);
  transition: all var(--dur-fast) var(--ease-out);
}

.badge:hover {
  background: rgba(var(--c-accent-rgb), 0.10);
  border-color: rgba(var(--c-accent-rgb), 0.40);
  box-shadow: 0 2px 4px rgba(var(--c-accent-rgb), 0.08);
  transform: translateY(-0.5px);
}

.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: badgeDotPulse 2s infinite ease-in-out;
}

@keyframes badgeDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px currentColor;
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
    box-shadow: 0 0 1px currentColor;
  }
}/* ════════════════ CARDS ════════════════ */


.card {
  position: relative;
  background: var(--c-ink-0);
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}/* Feature card — icon, title, blurb */


.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.feature h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature p {
  font-size: var(--fs-sm);
  color: var(--c-ink-6);
}/* Integration tile (small grid item) */


.tile {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-ink-0);
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-8);
  transition: all var(--dur-fast) var(--ease-out);
}

.tile:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
  color: var(--c-accent-ink);
}

.tile__logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--c-ink-2);
  flex-shrink: 0;
}/* Testimonial card */


.quote-card {
  background: var(--c-ink-0);
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.quote-card__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-yellow-5);
}

.quote-card__stars svg {
  width: 14px;
  height: 14px;
}

.quote-card__quote {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  color: var(--c-ink-8);
}

.quote-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-ink-3);
}

.quote-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
}

.quote-card__name {
  font-weight: 600;
  color: var(--c-ink-9);
  font-size: var(--fs-sm);
}

.quote-card__role {
  font-size: var(--fs-xs);
  color: var(--c-ink-6);
}/* ════════════════ NAVBAR (glassmorphism) ════════════════ */


#site-nav {
  min-height: var(--nav-h);
  display: block;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-ink-3);
}

.nav__inner {
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  justify-self: start;
}/* MetaKocka (krovni) del — vedno pelje na MK landing */


.nav__brand-mk {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-ink-9);
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.nav__brand-mk:hover {
  opacity: 0.65;
  /* MetaKocka wordmark ostane v MetaKockini zeleni, ne v poudarni barvi
     pod-znamke (npr. FA vijolična), ki bi jo sicer podedoval iz a:hover. */
  color: #509141;
}

.nav__brand svg {
  width: 22px;
  height: 22px;
}

.nav__brand-sep {
  color: var(--c-ink-4);
  font-weight: 400;
  margin: 0 6px;
}/* Pod-brand (OM / FA) del — pelje na svoj landing */


.nav__brand-sub {
  color: var(--c-ink-9);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.nav__brand-sub:hover {
  opacity: 0.7;
}

.nav__brand-sub img {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: inline-block;
}/* Trigger button for mega menu */


.nav__trigger {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 6px var(--sp-2);
  border-radius: var(--r-sm, 6px);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.nav__trigger:hover {
  background: rgba(55, 53, 47, 0.08);
  color: var(--c-ink-9);
}

.nav__trigger svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform var(--dur-fast);
}

.nav__trigger[aria-expanded="true"] {
  background: rgba(55, 53, 47, 0.08);
  color: var(--c-ink-9);
}

.nav__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}/* ════════════════════════════════════════════════════════════════
   MEGA MENU — full-width dropdown panel from nav
   ════════════════════════════════════════════════════════════════ */



.mega-backdrop {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(15, 23, 42, 0.18);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.mega-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mega {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-ink-3);
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-5);
  display: grid;
  gap: var(--sp-6);
}

.mega--cols-2 .mega__inner {
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
}

.mega--cols-3 .mega__inner {
  grid-template-columns: 1fr 1fr 1.1fr;
}

.mega--cols-4 .mega__inner {
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
}

.mega__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-ink-5);
  margin-bottom: var(--sp-3);
}

.mega__item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  margin: 0 -12px 2px;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}

.mega__item:hover {
  background: var(--c-ink-1);
}

.mega__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
}

.mega__item-icon svg {
  width: 18px;
  height: 18px;
}

.mega__item-icon img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.mega__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega__item-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink-9);
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega__item-title .badge {
  padding: 1px 6px;
  font-size: 9px;
  border-radius: var(--r-pill);
}

.mega__item-desc {
  font-size: var(--fs-xs);
  color: var(--c-ink-6);
  line-height: 1.4;
}/* Feature/highlight cells in mega (cross-sell OM/FA, etc.) */


.mega__feature {
  background: linear-gradient(135deg, var(--c-accent-soft) 0%, transparent 80%), #fff;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.mega__feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink-9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mega__feature h4 img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.mega__feature p {
  font-size: var(--fs-xs);
  color: var(--c-ink-6);
  line-height: 1.5;
}

.mega__feature .btn {
  align-self: flex-start;
}

.mega__feature--om {
  background: linear-gradient(135deg, var(--c-blue-1) 0%, transparent 80%), #fff;
  border-color: rgba(101, 172, 255, 0.3);
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px currentColor;
  }
}

@media (max-width: 900px) {
  .mega {
    height: calc(100vh - var(--nav-h));
  }

  .mega__inner,
  .mega--cols-2 .mega__inner,
  .mega--cols-3 .mega__inner,
  .mega--cols-4 .mega__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    padding: var(--sp-4);
    max-width: none;
  }}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-self: center;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 6px var(--sp-2);
  border-radius: var(--r-sm, 6px);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.nav__link:hover {
  background: rgba(55, 53, 47, 0.08);
  color: var(--c-ink-9);
}

.nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform var(--dur-fast);
}

.nav__link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-3);
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 760px) {

  .nav__actions .btn--ghost,
  .nav__actions .btn--secondary {
    display: none !important;
  }}

@media (min-width: 901px) and (max-width: 1250px) {
  .nav__inner {
    gap: var(--sp-3);
  }

  .nav__links {
    gap: var(--sp-4);
  }

  .nav__actions {
    gap: var(--sp-2);
  }

  .nav__brand {
    font-size: 0.9rem;
  }

  .nav__brand-sub img {
    width: 18px;
    height: 18px;
  }}/* Below ~1120px the full horizontal nav (brand + sub-brand + 4 links + 3 CTAs)
   can't fit without crowding — collapse the center links (same approach as the
   existing small-screen hide, just a higher threshold). */


@media (max-width: 1120px) {
  .nav__links {
    display: none;
  }
}/* ════════════════ NAV LANGUAGE SELECTOR ════════════════ */


.nav__lang {
  position: relative;
  display: inline-flex;
  margin-left: 2px;
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-pill);
  padding: 5px 10px 5px 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-8);
  transition: all var(--dur-fast) var(--ease-out);
  line-height: 1;
}/* Compact: flag + chevron only (hide the "SLO" label) to keep the bar uncluttered */


.nav__lang-btn>span:not(.nav__lang-flag) {
  display: none;
}

.nav__lang-btn {
  padding: 5px 8px;
}

.nav__lang-btn:hover {
  border-color: var(--c-ink-4);
  background: var(--c-ink-1);
}

.nav__lang-btn[aria-expanded="true"] {
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
}

.nav__lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: inline-block;
}

.nav__lang-btn svg.chev {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  transition: transform var(--dur-fast);
}

.nav__lang-btn[aria-expanded="true"] svg.chev {
  transform: rotate(180deg);
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 4px;
  display: none;
  z-index: 200;
}

.nav__lang.is-open .nav__lang-menu {
  display: block;
}

.nav__lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-8);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast);
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}

.nav__lang-item:hover {
  background: var(--c-ink-1);
}

.nav__lang-item.is-active {
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-weight: 700;
}

.nav__lang-item.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.nav__lang-item-sub {
  margin-left: auto;
  font-size: 10px;
  color: var(--c-ink-5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .nav__lang-btn {
    padding: 4px 8px 4px 6px;
  }

  .nav__lang-btn span:not(.nav__lang-flag) {
    display: none;
  }}/* ════════════════ HERO ════════════════ */


.hero {
  position: relative;
  padding: var(--sp-9) 0 var(--sp-8);
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.45;
}

.hero::before {
  top: -120px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(var(--c-accent-rgb), 0.20) 0%, transparent 70%);
}

.hero::after {
  top: 40px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(var(--c-accent-rgb), 0.12) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: var(--sp-4) 0 var(--sp-5);
}

.hero__lede {
  font-size: var(--fs-body-lg);
  color: var(--c-ink-6);
  max-width: 620px;
  margin: 0 auto var(--sp-6);
  text-wrap: balance;
}

.fa-wordmark-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--c-purple-5);
  white-space: nowrap;
  vertical-align: -4px;
}

.fa-wordmark-inline img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
}

.hero__ctas {
  display: inline-flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}/* ════════════════ BROWSER MOCKUP FRAME ════════════════ */


.mockup {
  position: relative;
  margin: var(--sp-7) auto 0;
  max-width: 1150px;
  background: var(--c-ink-0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow:
    0 30px 100px -20px rgba(0, 0, 0, 0.15),
    0 15px 50px -15px rgba(0, 0, 0, 0.10),
    0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.mockup__bar {
  height: 32px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 5px;
  position: relative;
}

.mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ink-4);
  opacity: 0.85;
}

.mockup__dot--r {
  background: #ff5f57;
}

.mockup__dot--y {
  background: #febc2e;
}

.mockup__dot--g {
  background: #28c840;
}

.mockup__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-ink-5);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2px 28px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a.mockup__url:hover {
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-color: rgba(var(--c-accent-rgb), 0.28);
  box-shadow: 0 2px 4px rgba(var(--c-accent-rgb), 0.08);
}

.mockup__body {
  background: var(--c-ink-0);
}

.dash__rail-icon.is-active {
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 600;
}

.bar__fill {
  height: 100%;
  background: var(--grad-accent);
  border-radius: var(--r-pill);
  width: var(--w, 50%);
  transition: width 1.2s var(--ease-out);
}

.dark-section .eyebrow {
  color: var(--c-accent-soft-2);
}/* ════════════════════════════════════════════════════════════════
   APP-SHELL MOCKUP — 1:1 replika realne OM/FA Vaadin aplikacije
   Brand-aware: barva active taba in primary akcenti se preklapljajo.
   ════════════════════════════════════════════════════════════════ */



.app-shell {
  font-family: var(--font-body);
  color: #333536;
  background: #f8f9fc;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 30px 1fr;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "topbar topbar"
    "rail   main";
  height: 680px;
  /* FIXED — prevents bottom-row glitch when live rows insert */
  font-size: 11px;
  line-height: 2;
}/* TOP BAR — branding-panel #2a2c2d, centered MK logo (replica of real OM) */


.app-shell__topbar {
  grid-area: topbar;
  background: #404243;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  font-size: 13px;
  position: relative;
}

.app-shell__topbar-drawer {
  /* Width matches the rail column (48px) so the hamburger icon sits
     dead-centered above the rail tiles below. */
  width: 49px;
  align-self: stretch;
  /* fill full topbar height */
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.app-shell__topbar-drawer:hover {
  background: #333536;
}

.app-shell__topbar-drawer svg {
  width: 16px;
  height: 16px;
}/* Brand panel — center logo as in real OM */


.app-shell__topbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.app-shell__topbar-brand svg {
  width: 20px;
  height: 20px;
}

.app-shell__topbar-brand .arrow-down {
  color: #777879;
  width: 16px;
  height: 14px;
  display: inline-block;
  margin-left: 2px;
}

.app-shell__topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  margin-left: auto;
}

.app-shell__topbar-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.app-shell__topbar-icon:hover {
  background: #333536;
}

.app-shell__topbar-icon svg {
  width: 16px;
  height: 16px;
}

.app-shell__topbar-icon .badge-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: #ed3125;
  border-radius: 50%;
  border: 1px solid #2a2c2d;
}

.app-shell__topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--r-pill);
  font-size: 12px;
  cursor: pointer;
  color: #fff;
}

.app-shell__topbar-user:hover {
  background: #333536;
}

.app-shell__topbar-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #80bb64, #509141);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}/* LEFT NAVIGATION RAIL — narrow icon-only #2a2c2d (matches real OM) */


.app-shell__rail {
  grid-area: rail;
  background: #2a2c2d;
  border-right: 1px solid #565859;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 10px;
}

.app-shell__rail-tile {
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease-out);
  opacity: 0.9;
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 10%;
}

.app-shell__rail-tile:hover {
  opacity: 1;
}

.app-shell__rail-tile img,
.app-shell__rail-tile svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-shell__rail-tile.is-active {
  opacity: 1;
}/* MAIN AREA */


.app-shell__main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  background: var(--c-shell-surface);
  min-height: 0;
  /* critical: lets table flex child scroll instead of growing */
  min-width: 0;
  overflow: hidden;
}/* PAGE HEADER — dark #2a2c2d, white h1, tabs at bottom */


.app-shell__pagehead {
  background: #2a2c2d;
  padding: 12px 14px 0;
  color: #fff;
  position: relative;
}

.app-shell__pagehead--fa {
  overflow: hidden;
}

.app-shell__pagehead-graphic {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: 1;
}

.app-shell__pagehead--fa .app-shell__title-container,
.app-shell__pagehead--fa .app-shell__subtitle,
.app-shell__pagehead--fa .app-shell__tabs {
  position: relative;
  z-index: 2;
}/* FA variant — purple active tab */


.app-shell__pagehead--fa .app-shell__tab.is-active {
  background: var(--c-purple-5);
}/* STATUS TABS — replica of header-tabs-navigation in real OM */


.app-shell__tabs {
  display: flex;
  gap: 0;
  margin-top: 14px;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 28px;
}

.app-shell__tabs::-webkit-scrollbar {
  display: none;
}

.app-shell__tab {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 400;
  color: #b7b9ba;
  background: #404243;
  border: 0;
  border-radius: 3px 3px 0 0;
  margin-right: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  line-height: 1.2;
}

.app-shell__tab:hover {
  background: #565859;
  color: #fff;
}

.app-shell__tab.is-active {
  background: var(--c-accent);
  color: #fff;
  font-weight: 500;
}/* FILTER ROW — search-action-section in real OM */


.app-shell__filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  padding: 6px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(237, 239, 240, 1);
  overflow-x: auto;
  scrollbar-width: none;
}

.app-shell__filters::-webkit-scrollbar {
  display: none;
}

.app-shell__filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 400;
  color: #333536;
  background: transparent;
  border: 1px solid #d3d5d6;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  line-height: 1.3;
}

.app-shell__filter:hover {
  background: #f2f4f5;
  border-color: #b7b9ba;
}

.app-shell__filter--icon::before {
  content: '';
  width: 10px;
  height: 10px;
  background: currentColor;
  opacity: 0.6;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 5h18M6 12h12M10 19h4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

.app-shell__filter--reset {
  color: #777879;
  border-color: transparent;
  background: transparent;
}

.app-shell__filter--reset:hover {
  background: #f2f4f5;
  color: #333536;
}

.app-shell__filter svg {
  width: 9px;
  height: 9px;
  opacity: 0.6;
}

.app-shell__search {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(237, 239, 240, 1);
  border: 1px solid transparent;
  border-radius: 3px;
  min-width: 200px;
  max-width: 480px;
  font-size: 10.5px;
  color: #8c8e8f;
  line-height: 1.3;
}

.app-shell__search::before {
  content: '';
  width: 11px;
  height: 11px;
  background: currentColor;
  opacity: 0.6;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7' stroke='black' stroke-width='2' fill='none'/><path d='M21 21l-4-4' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}/* TOOLBAR (above table) — search-actions-wrapper in real OM */


.app-shell__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 14px;
  background: #fff;
  gap: 8px;
  flex-wrap: wrap;
}

.app-shell__toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app-shell__toolbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  font-size: 9.5px;
  font-weight: 600;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-pill);
}

.app-shell__toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app-shell__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 400;
  color: #333536;
  background: transparent;
  border: 1px solid #d3d5d6;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  line-height: 1.3;
}

.app-shell__btn:hover {
  background: #f2f4f5;
  border-color: #b7b9ba;
}

.app-shell__btn svg {
  width: 10px;
  height: 10px;
}

.app-shell__btn--primary {
  background: #80bb64;
  color: #fff;
  border-color: #6da753;
  font-weight: 500;
}

.app-shell__btn--primary:hover {
  background: #6da753;
}

lor: #8c8e8f;
line-height: 1.3;
}

.app-shell__search::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: 0.6;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7' stroke='black' stroke-width='2' fill='none'/><path d='M21 21l-4-4' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}/* TOOLBAR (above table) — search-actions-wrapper in real OM */


.app-shell__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 9px;
  background: #fff;
  gap: 12px;
  flex-wrap: wrap;
}

.app-shell__toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-shell__toolbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-pill);
}

.app-shell__toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-shell__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 400;
  color: #333536;
  background: transparent;
  border: 1px solid #d3d5d6;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  line-height: 1.3;
}

.app-shell__btn:hover {
  background: #f2f4f5;
  border-color: #b7b9ba;
}

.app-shell__btn svg {
  width: 12px;
  height: 12px;
}

.app-shell__btn--primary {
  background: #80bb64;
  color: #fff;
  border-color: #6da753;
  font-weight: 500;
}

.app-shell__btn--primary:hover {
  background: #6da753;
}

.app-shell__pagination-pages button.is-active {
  background: transparent;
  color: #333536;
  border: 1px solid #d3d5d6;
  border-radius: 18px;
  font-weight: 600;
}

.app-shell__toolbar-tag {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 54px;
  color: #166534;
  padding: 6px 14px;
  font-weight: 400;
  font-size: 12px;
  line-height: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.app-shell__toolbar-tag strong {
  font-weight: 700;
  font-size: 12px;
  color: #15803d;
}/* TABLE — replica of data-presentation-grid, with FIXED scrollable height */


.app-shell__table {
  background: #fff;
  flex: 1;
  min-height: 0;
  /* critical for flex child scroll */
  overflow-y: auto;
  overflow-x: auto;
}

.app-shell__row {
  display: grid;
  grid-template-columns: 22px 110px 90px 90px 95px 95px 76px minmax(110px, 1fr) 85px 76px;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 11px;
  border-bottom: 1px solid rgba(211, 213, 214, 0.2);
  height: 30px;
  /* FIXED row height — no animated growth = no parent glitch */
  color: #333536;
  box-sizing: border-box;
}

.app-shell__row>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}/* FA tabela ima drugačne stolpce (Naročilo, Prioriteta, Artikli, Prejemnik, Vrednost, Dostava, Paketov, Države) */


.app-shell__table--fa .app-shell__row {
  grid-template-columns: 22px 70px 90px 45px minmax(70px, 1fr) 80px 65px 40px 40px;
}/* Responsive — hide some columns on smaller screens */


@media (max-width: 1100px) {
  .app-shell__row {
    grid-template-columns: 22px 90px 90px 70px 80px minmax(80px, 1fr) 80px 76px;
    gap: 6px;
  }

  /* Hide "Odpremljeno" + "Način plačila" cols on medium screens */
  .app-shell__row> :nth-child(5),
  .app-shell__row> :nth-child(9) {
    display: none;
  }
}

@media (max-width: 720px) {
  .app-shell {
    min-height: 540px;
  }

  .app-shell__pagehead {
    padding: 16px 12px 0;
  }

  .app-shell__tabs {
    padding: 16px 8px 0;
  }

  .app-shell__tab {
    padding: 6px 12px;
    font-size: 12px;
  }

  .app-shell__filters,
  .app-shell__toolbar {
    padding: 8px;
  }

  .app-shell__btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .app-shell__search {
    min-width: 100px;
    font-size: 11px;
    padding: 4px 8px;
  }

  .app-shell__row {
    grid-template-columns: 22px 80px 90px minmax(80px, 1fr) 60px;
    font-size: 12px;
  }/* hide ustvarjeno + odpremljeno + naročilo + plačilo + dostava on small */

  
  .app-shell__row> :nth-child(4),
  .app-shell__row> :nth-child(5),
  .app-shell__row> :nth-child(6),
  .app-shell__row> :nth-child(7),
  .app-shell__row> :nth-child(9) {
    display: none;
  }}

.app-shell__row:hover:not(.app-shell__row--head) {
  background: #eef0f2;
}

.app-shell__row--head {
  background: #f7f9fa;
  color: #333536;
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', var(--font-body);
  border-bottom: 1px solid rgba(211, 213, 214, 0.5);
  position: sticky;
  top: 0;
  z-index: 1;
}

.app-shell__row--head>span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.app-shell__row--head>span::after {
  content: '';
  width: 8px;
  height: 8px;
  background: currentColor;
  opacity: 0.3;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5l3-3 3 3M3 7l3 3 3-3' stroke='black' fill='none' stroke-width='1.5'/></svg>") center/contain no-repeat;
}

.app-shell__row--head>span:first-child::after {
  display: none;
}/* TRACKING NUMBER cell — small grey mono */


.app-shell__row .col-tracking {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}/* PAGINATION FOOTER */


.app-shell__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #fff;
  border-top: 1px solid var(--c-shell-border);
  font-size: 10px;
  color: #777;
}

.app-shell__pagination-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-shell__pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.app-shell__pagination-pages button {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 10px;
  color: #555;
  cursor: pointer;
}

.app-shell__pagination-pages button:hover {
  background: var(--c-shell-surface-2);
}

.app-shell__pagination-pages button.is-active {
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
}

.app-shell__pagination-select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: #fff;
  border: 1px solid var(--c-shell-border);
  border-radius: 3px;
  color: #444;
}

.app-shell__row>.col-num {
  font-family: var(--font-mono);
  color: var(--c-accent);
  font-weight: 500;
}

.app-shell__check {
  width: 14px;
  height: 14px;
  border: 1px solid var(--c-shell-border);
  border-radius: 2px;
}/* Status pill — replica of grid-cell in real OM */


.app-shell__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 20px;
  white-space: nowrap;
  max-width: fit-content;
  line-height: 1.3;
}

.app-shell__pill--ok {
  background: rgba(128, 187, 100, 0.5);
  color: #333536;
}

.app-shell__pill--warn {
  background: #d3d5d6;
  color: #333536;
}

.app-shell__pill--err {
  background: #ed3125;
  color: #fff;
}

.app-shell__pill--info {
  background: rgba(128, 187, 100, 0.5);
  color: #333536;
}

.app-shell__pill--neutral {
  background: #d3d5d6;
  color: #333536;
}/* Country flag stub (color square + abbreviation) */


.app-shell__flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.app-shell__flag-sq {
  width: 14px;
  height: 10px;
  border-radius: 1px;
  background: linear-gradient(0deg, #ce2b37 33%, #fff 33%, #fff 66%, #009246 66%);
}/* Live-order slide-in animation */


.app-shell__row.is-new {
  animation: orderSlideIn 0.55s var(--ease-out);
}

.app-shell__row.is-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(101, 172, 255, 0.18) 0%, rgba(101, 172, 255, 0.06) 30%, transparent 60%);
  animation: rowFlash 1.6s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

.app-shell__row {
  position: relative;
}

.app-shell__row.is-new>* {
  position: relative;
  z-index: 1;
}/* SlideIn — opacity + small transform only, NO height/padding animation
   (height/padding animation caused the bottom frame to glitch on insert) */


@keyframes orderSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rowFlash {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}/* "+1 novo" pulsing indicator above the table */


.app-shell__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 10px;
  background: var(--c-status-ok);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  transition: all var(--dur-fast) var(--ease-out);
}

.app-shell__live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell__row.is-new {
    animation: none;
  }

  .app-shell__row.is-new::before {
    animation: none;
    opacity: 0;
  }

  .app-shell__live-badge::before {
    animation: none;
  }}/* ════════════════════════════════════════════════════════════════
   BENTO GRID — mixed-size product showcase
   ════════════════════════════════════════════════════════════════ */



.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: var(--sp-4);
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }}

.stack-swap__tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-ink-8);
  text-align: center;
}

.stack-swap__tool:hover {
  border-color: var(--c-accent);
  transform: translateY(-1px);
}

.stack-swap__tool-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--c-ink-2);
  font-weight: 700;
  font-size: 12px;
  color: var(--c-ink-7);
}

.stack-swap__tool.is-replaced {
  opacity: 0.45;
  position: relative;
}

.stack-swap__tool.is-replaced::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--c-status-err);
  transform: rotate(-6deg);
}

.stack-swap__mk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-ink-8);
  transition: all var(--dur-fast) var(--ease-out);
}

.stack-swap__mk.is-highlight {
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
  color: var(--c-accent-ink);
  transform: scale(1.04);
  box-shadow: var(--glow-accent);
}

.stack-swap__mk-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--grad-accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.stack-swap__mk-icon svg {
  width: 14px;
  height: 14px;
}/* ════════════════ RESPONSIVE BREAKPOINTS ════════════════ */


@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .dash__row {
    grid-template-columns: 80px 1fr 90px 80px;
  }

  .dash__row> :nth-child(5) {
    display: none;
  }

  .dash__kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--sp-7) 0 var(--sp-7);
  }

  .section {
    padding: var(--sp-7) 0;
  }}/* ==========================================================================
   Mobile Navigation Drawer & Hamburger Trigger
   ========================================================================== *//* Hamburger Button */




.nav__mobile-header-right {
  display: none;
}

.nav__burger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm, 6px);
  transition: background-color var(--dur-fast);
}

.nav__burger:hover {
  background-color: rgba(55, 53, 47, 0.05);
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--c-ink-8);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s, background-color 0.25s;
}

.nav__burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}/* Hide navigation links & show burger button on screens below 1120px */


@media (max-width: 1120px) {
  .nav__links {
    display: none !important;
  }

  .nav__actions {
    display: none !important;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile-header-right {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  /* Adjust header alignment when links are hidden */
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}/* Hide parent brand and separator on mobile screens to fit sub-brand logo */


@media (max-width: 640px) {

  .nav__brand-mk,
  .nav__brand-sep {
    display: none !important;
  }
}/* Backdrop */


.nav-mobile-backdrop {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 18, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.nav-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}/* Drawer */


.nav__mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  box-shadow: none;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.nav__mobile-drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}

.nav__mobile-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}/* Mobile Accordions */


.nav__mobile-accordion {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__mobile-accordion-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-3) 0;
  background: transparent;
  border: none;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-ink-8);
  cursor: pointer;
  text-align: left;
  transition: color var(--dur-fast);
}

.nav__mobile-accordion-btn:hover,
.nav__mobile-accordion-btn.is-active {
  color: var(--c-purple-6);
}

.nav__mobile-accordion-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  color: var(--c-ink-5);
}

.nav__mobile-accordion-btn.is-active svg {
  transform: rotate(180deg);
  color: var(--c-purple-6);
}

.nav__mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.nav__mobile-accordion-btn.is-active+.nav__mobile-accordion-panel {
  padding-bottom: var(--sp-4);
}

.nav__mobile-subcol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-left: var(--sp-3);
}

.nav__mobile-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--c-purple-6);
  margin-bottom: 2px;
}

.nav__mobile-subcol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-left: var(--sp-2);
}

.nav__mobile-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  text-decoration: none;
  padding: 6px 0;
  transition: opacity var(--dur-fast);
}

.nav__mobile-item:hover {
  opacity: 0.85;
}

.nav__mobile-item-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm, 6px);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav__mobile-item-icon svg {
  width: 14px;
  height: 14px;
}

.nav__mobile-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__mobile-item-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink-9);
  line-height: 1.3;
}

.nav__mobile-item-desc {
  font-size: 11px;
  color: var(--c-ink-5);
  line-height: 1.3;
}

.nav__mobile-item--direct {
  margin-top: var(--sp-3);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: var(--sp-4);
}/* Footer CTAs */


.nav__mobile-drawer-footer {
  padding: var(--sp-5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}