/* ===== MOBILE HEADER OVERRIDES ONLY ===== */

.lynck-mobile-menu {
  display: none;
  flex: 0 0 auto;
  position: relative;
}

.lynck-mobile-about,
.lynck-mobile-lang {
  display: none;
}

.lynck-mobile-menu-trigger {
  justify-content: center;
  gap: 0.6rem;
  width: auto;
  min-height: 46px;
  font-weight: 700;
}

.lynck-mobile-lang-trigger {
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 700;
}

.lynck-mobile-menu-text {
  display: inline;
}

.lynck-mobile-menu-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 15px;
}

.lynck-mobile-menu-icon span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.lynck-mobile-menu-panel {
  width: min(92vw, 24rem);
  padding: 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  right: 0;
  left: auto;
}

.nav-dropdown.open .nav-dropdown-menu.lynck-mobile-menu-panel {
  display: flex;
}

.lynck-mobile-menu-group {
  display: grid;
  gap: 0.35rem;
}

.lynck-mobile-menu-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
  padding: 0 0.15rem 0.15rem;
}

.lynck-mobile-social {
  display: grid;
  gap: 0.35rem;
}

.lynck-mobile-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lynck-mobile-menu-cta {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

@media (max-width: 900px) {
  .lynck-header {
    padding: 0.6rem 0.75rem;
  }

  .lynck-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.42rem 0.48rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  }

  .lynck-mobile-menu {
    display: block;
  }

  .lynck-mobile-about {
    display: inline-flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 0.7rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(15, 23, 42, 0.88);
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lynck-mobile-lang {
    display: block;
    flex: 0 0 auto;
    position: relative;
  }

  .lynck-home-logo,
  .lynck-partner-badge {
    width: 48px;
    height: 48px;
    margin: 0;
    flex: 0 0 48px;
    box-shadow: none;
  }

  .lynck-header-bar {
    display: none;
  }

  .lynck-home-logo {
    border-radius: 14px;
  }

  .lynck-home-logo img {
    object-fit: cover;
  }

  .lynck-partner-badge {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
  }

  .lynck-partner-badge img {
    width: 78%;
    height: 78%;
  }

  .lynck-mobile-menu.nav-dropdown.right .lynck-mobile-menu-panel {
    position: fixed;
    left: 50%;
    right: auto;
    width: min(calc(100vw - 1.5rem), 22rem);
    transform: translateX(-50%);
    top: calc(env(safe-area-inset-top, 0px) + 4.6rem);
    max-height: min(72vh, 34rem);
    overflow-y: auto;
    padding: 0.9rem;
    border-radius: 18px;
    box-sizing: border-box;
    overscroll-behavior: contain;
  }

  .lynck-mobile-menu-trigger {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
    gap: 0;
  }

  .lynck-mobile-menu-text {
    display: none;
  }

  .lynck-mobile-menu-icon {
    width: 16px;
    gap: 3px;
  }

  .lynck-mobile-menu-icon span {
    width: 16px;
  }

  .lynck-mobile-lang-trigger {
    min-width: 52px;
    min-height: 44px;
    padding: 0 0.55rem;
    border-radius: 14px;
    font-size: 0.74rem;
  }

  .lynck-mobile-lang-menu {
    right: 0;
    left: auto;
    min-width: 152px;
  }

  .lynck-mobile-menu-panel .lynck-mobile-menu-label {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .lynck-mobile-menu-panel a,
  .lynck-mobile-menu-panel button {
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: normal;
  }

  .lynck-mobile-social {
    gap: 0.45rem;
  }
}

@media (max-width: 480px) {
  .lynck-header-right {
    min-width: 0;
  }

  .lynck-mobile-menu-trigger {
    min-height: 40px;
    width: 40px;
    min-width: 40px;
    padding: 0;
  }

  .lynck-mobile-about {
    min-height: 40px;
    padding: 0 0.55rem;
    font-size: 0.68rem;
  }

  .lynck-mobile-menu.nav-dropdown.right .lynck-mobile-menu-panel {
    left: 50%;
    right: auto;
    width: min(calc(100vw - 1.2rem), 20.75rem);
    transform: translateX(-50%);
    padding: 0.8rem;
  }

  .lynck-mobile-menu-cta {
    min-height: 40px;
    font-size: 0.72rem;
  }

  .lynck-mobile-lang-trigger {
    min-width: 46px;
    min-height: 40px;
    padding: 0 0.45rem;
    font-size: 0.68rem;
  }

  .lynck-home-logo,
  .lynck-partner-badge {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}
