.np-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #002b80;
  overflow: hidden;
}
.np-mobile-menu[open] {
  display: block;
}
.np-mobile-menu::backdrop {
  background: #001a45a6;
}
.np-mobile-menu * {
  box-sizing: border-box;
}
.np-mobile-menu a {
  color: inherit;
  text-decoration: none;
}
.np-mobile-panel {
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100% - 24px));
  height: 100%;
  background: #fff;
  box-shadow: 12px 0 40px #001a4520;
}
.np-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  padding: max(16px, env(safe-area-inset-top)) 20px 16px;
  border-bottom: 1px solid #e0e7f0;
}
.np-mobile-header img {
  display: block;
  width: 150px;
  height: 44px;
  object-fit: contain;
}
.np-mobile-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #d5e2f3;
  border-radius: 8px;
  background: #f5f9ff;
  font-size: 18px;
  cursor: pointer;
}
.np-mobile-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  scrollbar-width: thin;
  scrollbar-color: #b8cce7 #f5f9ff;
}
.np-mobile-account {
  padding: 16px;
  border-radius: 10px;
  background: #eef6ff;
}
.np-mobile-account > p {
  margin: 0 0 14px;
  font-size: 13px;
}
.np-mobile-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.np-mobile-auth a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.np-mobile-menu .np-mobile-primary {
  background: #e9002b;
  color: white;
}
.np-mobile-primary:hover {
  background: #bf0023;
}
.np-mobile-outline {
  background: white;
  border: 1px solid #b8cce7;
}
.np-mobile-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.np-mobile-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #002b80;
  color: white;
  font-size: 18px;
}
.np-mobile-profile > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.np-mobile-profile strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.np-mobile-profile small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #536787;
}
.np-mobile-profile > i {
  font-size: 11px;
}
.np-mobile-search {
  display: flex;
  margin: 18px 0;
  border: 1px solid #cbd9eb;
  border-radius: 8px;
  overflow: hidden;
}
.np-mobile-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: white;
  padding: 12px;
  font-size: 16px;
  color: #213c64;
}
.np-mobile-search input::placeholder {
  color: #64748b;
}
.np-mobile-search button {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  background: #f5f9ff;
  cursor: pointer;
}
.np-mobile-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.np-mobile-shortcuts > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
  border-radius: 8px;
  background: #f2f7fd;
  font-size: 11px;
  text-align: center;
  padding: 8px 2px;
}
.np-mobile-shortcuts > a > span {
  position: relative;
  font-size: 18px;
}
.np-mobile-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  min-width: 17px;
  height: 17px;
  padding: 1px 4px;
  border-radius: 12px;
  background: #e9002b;
  color: white;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}
.np-mobile-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.np-mobile-links > a,
.np-mobile-categories summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.np-mobile-links > a > i,
.np-mobile-categories summary > i:first-child {
  width: 20px;
  text-align: center;
  color: #31599b;
}
.np-mobile-links > a:hover,
.np-mobile-links > a[aria-current],
.np-mobile-categories summary:hover,
.np-mobile-shortcuts > a:hover {
  background: #eef6ff;
}
.np-mobile-categories summary {
  list-style: none;
}
.np-mobile-categories summary::-webkit-details-marker {
  display: none;
}
.np-mobile-chevron {
  margin-left: auto;
  font-size: 10px;
}
.np-mobile-categories[open] .np-mobile-chevron {
  transform: rotate(180deg);
}
.np-mobile-categories > div {
  margin: 4px 0 10px 20px;
  padding-left: 14px;
  border-left: 1px solid #d5e2f3;
}
.np-mobile-categories a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 6px;
  font-size: 13px;
}
.np-mobile-categories a:hover {
  text-decoration: underline;
}
.np-mobile-all-categories {
  font-weight: 600;
}
.np-mobile-menu .np-mobile-offers,
.np-mobile-links > .np-mobile-offers > i {
  color: #c50028;
}
.np-mobile-menu .np-mobile-prescription {
  background: #002b80;
  color: white;
  margin-top: 12px;
}
.np-mobile-links > .np-mobile-prescription > i {
  color: white;
}
.np-mobile-prescription > span {
  margin-left: auto;
}
.np-mobile-support {
  border-top: 1px solid #e0e7f0;
  padding-top: 20px;
  margin-top: 24px;
}
.np-mobile-footer {
  border-top: 1px solid #e0e7f0;
  margin-top: 20px;
  padding-top: 20px;
}
.np-mobile-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #eef6ff;
  font-size: 12px;
}
.np-mobile-phone strong {
  display: block;
  font-size: 14px;
  margin-top: 5px;
  font-weight: 600;
}
.np-mobile-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0 8px;
}
.np-mobile-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e0e7f0;
  border-radius: 50%;
}
.np-mobile-footer > small {
  display: block;
  text-align: center;
  color: #64748b;
  font-size: 11px;
}
.np-mobile-menu a:focus-visible,
.np-mobile-menu button:focus-visible,
.np-mobile-menu summary:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: -3px;
}
.np-mobile-search:focus-within {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}
body.mobile-menu-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .np-mobile-menu[open] .np-mobile-panel {
    animation: np-menu-enter 0.2s ease-out;
  }
  @keyframes np-menu-enter {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
}
