.np-announcement {
  background: #002b80;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}
.np-announcement p {
  margin: 0;
}
.np-announcement-mobile {
  display: none;
}
.storefront-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  color: #002b80;
  border-bottom: 1px solid #dce5f1;
  box-shadow: 0 2px 8px #002b8008;
}
.storefront-header > .container {
  max-width: 1580px;
}
.storefront-header .storefront-desktop-search {
  max-width: 760px;
  min-width: 220px;
}
.nila-search-field {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  border: 1px solid #b9cbe5;
  border-radius: 6px;
  background: #f7faff;
}
.nila-search-field:focus-within {
  border-color: #002b80;
  box-shadow: 0 0 0 3px #dbeafe;
  background: #fff;
}
.nila-search-icon {
  position: absolute;
  left: 16px;
  color: #64748b;
  pointer-events: none;
}
.nila-search-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 8px 0 43px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #002b80;
  font: inherit;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}
.nila-search-field input::placeholder {
  color: #64748b;
  opacity: 1;
}
.nila-search-field button {
  flex-shrink: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: #e9002b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nila-search-field button:hover {
  background: #bf0023;
}
.storefront-mobile-search {
  padding: 0 0 14px;
}
.storefront-header a:focus-visible,
.storefront-header button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.np-header-action,
.np-header-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #002b80;
  min-width: 65px;
}
.np-header-label {
  font-size: 13px;
  font-weight: 600;
}
.np-header-action i,
.np-header-account i {
  font-size: 23px;
}
.storefront-header #header-location-display {
  display: none;
}
.storefront-header .desktop-nav-wrapper {
  display: block;
  background: #fff;
  border-top: 1px solid #edf1f7;
}
.np-main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1580px;
  margin: auto;
  padding: 8px 16px;
}
.np-main-nav > a,
.np-category-menu > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #002b80;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.np-category-menu > button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.np-main-nav > a:hover,
.np-category-menu > button:hover,
.np-category-menu > button[aria-expanded="true"] {
  background: #eef6ff;
}
.np-category-menu > button i {
  font-size: 10px;
}
.np-main-nav > .np-prescription-link {
  margin-left: auto;
  background: #e9002b;
  color: #fff;
}
.np-main-nav > .np-prescription-link:hover {
  background: #bf0023;
}
.np-category-panel {
  position: absolute;
  top: 100%;
  left: 16px;
  width: min(840px, calc(100% - 32px));
  max-height: min(65vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  border: 1px solid #dce5f1;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 14px 30px #002b801a;
}
.np-category-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px;
  border-bottom: 1px solid #dce5f1;
  font-size: 14px;
  font-weight: 700;
  color: #002b80;
}
.np-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
}
.np-category-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.np-category-group a {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.np-category-group .np-category-title {
  color: #002b80;
  font-size: 14px;
  font-weight: 700;
}
.np-category-panel a:hover {
  color: #e9002b;
  text-decoration: underline;
}
@media (max-width: 1023px) {
  .np-announcement-desktop {
    display: none;
  }
  .np-announcement-mobile {
    display: inline;
  }
  .storefront-header .desktop-nav-wrapper,
  .storefront-header .np-desktop-account,
  .storefront-header .np-header-wishlist {
    display: none;
  }
  .np-header-label {
    display: none;
  }
  .np-header-action {
    min-width: 40px;
  }
  .nila-search-field input {
    font-size: 16px;
  }
  .nila-search-field button {
    padding-inline: 15px;
  }
}
@media (max-width: 479px) {
  .nila-search-field input {
    padding-left: 36px;
  }
  .nila-search-icon {
    left: 12px;
  }
  .nila-search-field button {
    padding-inline: 12px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .np-main-nav {
    gap: 2px;
  }
  .np-main-nav > a,
  .np-category-menu > button {
    padding: 12px 8px;
    gap: 6px;
    font-size: 12px;
  }
}
