.wp-mobile-menu-toggle {
  display: none;
}

.wp-mobile-menu {
  box-sizing: border-box;
  width: min(340px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: 12px 12px auto auto;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 12px 32px #0f172a33;
}

.wp-mobile-menu::backdrop {
  background: #0f172a66;
}

.wp-mobile-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wp-mobile-menu-heading h2 {
  margin: 0;
  font-size: 20px;
}

.wp-mobile-menu-heading button,
.wp-mobile-header .wp-mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f766e;
  cursor: pointer;
}

.wp-mobile-menu-heading button {
  font-size: 26px;
}

.wp-mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 10px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.wp-mobile-menu nav a:hover,
.wp-mobile-menu nav a[aria-current="page"] {
  background: #e6f7f5;
  color: #0f766e;
}

@media (max-width: 767px) {
  body .wp-mobile-header :is(.lead-nav-center, .dash-nav-center, .location-picker-btn, .nav-actions),
  body .wp-mobile-header.landing-header :is(nav, .nav-right),
  body .wp-mobile-header.top-nav nav {
    display: none;
  }

  body .wp-mobile-header .nav-container {
    display: flex;
    gap: 8px;
  }

  body .wp-mobile-header .dash-nav-right {
    margin-inline-start: auto;
    gap: 4px;
  }

  body .wp-mobile-header.top-nav {
    padding-inline: 12px !important;
    gap: 8px;
  }

  body .wp-mobile-header.top-nav > div:nth-child(2) {
    display: none !important;
  }

  .wp-mobile-header .wp-mobile-menu-toggle {
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
  }
}

@media (max-width: 767px) {
  body .wp-mobile-header.wp-mobile-header .nav-container,
  body header.wp-mobile-header.top-nav {
    box-sizing: border-box;
    height: 64px;
    padding: 8px 16px;
  }

  body .wp-mobile-header .brand-logo img,
  body .wp-mobile-header .official-brand-logo {
    width: clamp(84px, 27vw, 112px);
    height: auto;
  }
}

.wp-session-profile:not([hidden]) {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid #0f766e;
  border-radius: 50%;
  background: #e7f8f4;
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.wp-session-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .wp-mobile-header .nav-container > .wp-session-profile {
    margin-inline-start: auto;
  }
}

.wp-mobile-header :is(.btn-signin, .btn-getstarted, .wp-session-profile)[hidden] {
  display: none;
}
