:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }/** Typography */
:host {
  /*
   * @prop --main-menu-bar-bg-color: Background color of the main menu bar. Defaults to var(--nano-color-base-0);
   * @prop --main-menu-text-color: Text color of the main menu. Defaults to var(--nano-color-base-1000);
   * @prop --main-menu-hover-text-color: Hover text color of the main menu. Defaults to var(--nano-color-primary-1000);
   * @prop --main-menu-active-text-color: Active text color of the main menu. Defaults to var(--nano-color-primary-1200);
   * @prop --main-menu-active-border-color: Active border color of the main menu items. Defaults to var(--nano-color-primary-1000);
   * @prop --overflow-bg-color: Background color of the overflow menu. Defaults to var(--nano-color-grey-mono-1600);
   * @prop --overflow-text-color: Text color of the overflow menu. Defaults to var(--nano-color-basic-white);
   * @prop --overflow-hover-text-color: Hover text color of the overflow menu. Defaults to var(--nano-color-blue-cerulean-700);
   * @prop --overflow-active-text-color: Active text color of the overflow menu. Defaults to var(--nano-color-blue-cerulean-300);
   */
  --main-menu-bar-bg-color: var(--nano-color-base-0);
  --main-menu-text-color: var(--nano-color-base-1000);
  --main-menu-hover-text-color: var(--nano-color-primary-1000);
  --main-menu-active-text-color: var(--nano-color-primary-1200);
  --main-menu-active-border-color: var(--nano-color-primary-1000);
  --overflow-bg-color: var(--nano-color-grey-mono-1600);
  --overflow-text-color: var(--nano-color-basic-white);
  --overflow-hover-text-color: var(--nano-color-blue-cerulean-700);
  --overflow-active-text-color: var(--nano-color-blue-cerulean-300);
  display: block;
  color: var(--main-menu-text-color);
}

img {
  max-inline-size: none;
  display: block;
  block-size: revert-layer;
}

::slotted(a),
:host::slotted(a),
a {
  text-decoration: none;
}

a:has(img) {
  display: inline-block;
}

a:focus {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}

nano-drawer:not(:defined) {
  display: none;
}

nano-badge {
  position: absolute;
  font-size: 0.5625rem;
  pointer-events: none;
}

.gn__cart {
  position: relative;
}
.gn__cart nano-badge {
  inset-block-start: -0.35rem;
  inset-inline-end: -0.4rem;
}

.gn__login-cta {
  --bg: transparent;
  --font-size: var(--nano-font-size-2xs);
  --padding-v: 0.5em;
}

.gn__menu-bar-wrapper {
  z-index: calc(var(--nano-z-index-menubar) + 1);
  position: relative;
}
.gn__menu-bar-wrapper::after {
  content: "";
  position: absolute;
  block-size: 1px;
  inline-size: 100%;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: -3;
  background-color: var(--nano-color-neutral-200);
}

.gn__menu-bar {
  inline-size: 100%;
  overflow: clip;
  background-color: var(--main-menu-bar-bg-color);
}
.gn__menu-bar a {
  color: var(--main-menu-text-color);
}
.gn__menu-bar a:hover {
  color: var(--main-menu-hover-text-color);
}
.gn__menu-bar a:active {
  color: var(--main-menu-active-text-color);
}

.gn__main-menu {
  display: inline-flex;
  align-items: center;
  min-inline-size: 100%;
  padding: var(--nano-spacing-md);
  transition: opacity var(--nano-transition-x-fast) ease;
  opacity: 1;
}
.gn__main-menu.resizing {
  transition: none;
  opacity: 0;
}
.gn__main-menu > * {
  margin-inline-end: var(--nano-spacing-xl);
}
.gn__main-menu > *:is(slot, slot-fb) {
  display: flex;
}
.gn__main-menu > *:last-child {
  margin-inline-end: 0;
}

.gn__overflow-button {
  --padding: 0.5rem 0.875rem 0.5rem 0;
  margin-inline-end: 0.875rem;
  font-size: 1.125rem;
  position: relative;
}
.gn__overflow-button::after {
  content: "";
  position: absolute;
  inline-size: 1px;
  block-size: 100%;
  inset-inline-end: 0;
  background-color: var(--nano-color-neutral-300);
  opacity: 0.7;
  inset-block-start: 0;
}

.gn__main-menu-links,
.gn__main-menu-actions {
  display: inline-flex;
  align-items: center;
}
.gn__main-menu-links .nano-icon,
.gn__main-menu-links .nano-icon-button,
.gn__main-menu-actions .nano-icon,
.gn__main-menu-actions .nano-icon-button {
  --active-color: var(--main-menu-active-text-color);
  --hover-color: var(--main-menu-hover-text-color);
  font-size: 1rem;
}
.gn__main-menu-links .nano-icon-button:hover,
.gn__main-menu-actions .nano-icon-button:hover {
  color: var(--main-menu-hover-text-color);
}

.gn__main-menu-links {
  gap: var(--nano-spacing-xl);
}
.gn__main-menu-links ::slotted(a), .gn__main-menu-links::slotted(a) {
  color: var(--main-menu-text-color);
}
.gn__main-menu-links ::slotted(a:hover) {
  color: var(--main-menu-hover-text-color);
}
.gn__main-menu-links ::slotted(*:active) {
  color: var(--main-menu-active-text-color);
}

.gn__main-menu-actions {
  margin-inline-start: auto;
  font-size: 0.9375rem;
  gap: var(--nano-spacing-md);
}

.gn__search-dropdown {
  --overflow: visible;
  --padding: 0;
  --background: transparent;
}
.gn__search-dropdown .nano-icon-button {
  position: relative;
}
.gn__search-dropdown .nano-icon-button::before {
  content: "";
  position: absolute;
  background-color: var(--main-menu-active-border-color);
  block-size: 4px;
  inset-inline: 5px 2px;
  inset-block-end: -1.5625rem;
  transform: translateZ(0) scaleX(0);
  transform-origin: 0 center;
  transition: transform var(--nano-transition-x-fast) ease-in-out;
}
.gn__search-open .gn__search-dropdown .nano-icon-button::before {
  transform: translateZ(0) scaleX(1);
}

.gn__search-form {
  display: inline-flex;
  max-inline-size: 100vw;
  inline-size: 30.625rem;
}
.gn__search-form .nano-select {
  --input-bg-color: var(--nano-color-neutral-200);
  flex: 0;
}
.gn__search-form .nano-select:focus-within {
  z-index: 1;
}
.gn__search-form .nano-select .form-ctrl__input {
  border-inline-end: none;
}
.gn__search-form .nano-input {
  flex: 1;
}

.gn__search-results {
  --padding-start: var(--nano-spacing-md);
  --padding-top: var(--nano-spacing-sm);
  --padding-bottom: var(--nano-spacing-sm);
  font-size: var(--nano-font-size-2xs);
}

.gn__search-loading {
  display: flex;
  justify-content: center;
}

.gn__search-result {
  --padding-start: 0.3125rem;
  --padding-top: var(--nano-spacing-sm);
  --padding-bottom: var(--nano-spacing-sm);
  --bg-focus: var(--nano-color-primary-300);
  --color-focus: var(--nano-color-neutral-1400);
  --color: var(--nano-color-neutral-1400);
  font-size: var(--nano-font-size-2xs);
}
.gn__search-result .search__highlight {
  font-style: normal;
  background: var(--nano-color-highlight);
}

.gn__search-viewall {
  --bg-focus: var(--nano-color-primary-300);
  --color-focus: var(--nano-color-neutral-1400);
  --color: var(--nano-color-primary-1200);
}
.gn__search-viewall::part(label) {
  justify-content: flex-end;
  text-decoration: underline;
}

.gn__user-dropdown-trigger {
  all: unset;
  cursor: pointer;
  color: var(--nano-color-primary-1200);
  display: flex;
  white-space: nowrap;
  gap: var(--nano-spacing-xs);
  align-items: center;
  position: relative;
  padding-inline-start: var(--nano-spacing-md);
}
.gn__user-dropdown-trigger:hover {
  color: var(--main-menu-hover-text-color);
}
.gn__user-dropdown-trigger:active {
  color: var(--main-menu-active-text-color);
}
.gn__user-dropdown-trigger:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}
.gn__user-dropdown-trigger::before {
  content: "";
  position: absolute;
  inline-size: 1px;
  block-size: 100%;
  inset-inline-start: 0;
  background-color: var(--nano-color-neutral-300);
  opacity: 0.7;
  inset-block-start: 0;
}
.gn__user-dropdown-trigger .gn__user-dropdown-chevron {
  transition: rotate var(--nano-transition-x-fast) linear;
}
[open] .gn__user-dropdown-trigger .gn__user-dropdown-chevron {
  rotate: 180deg;
}
.gn__user-dropdown-trigger nano-badge {
  inset-block-start: -0.7rem;
  inset-inline-end: -0.7rem;
}

.gn__user-dropdown {
  --background: var(--overflow-bg-color);
  --padding: 0;
  --overflow: visible;
}

.gn__user-panel {
  inline-size: 21.25rem;
  max-inline-size: 21.25rem;
  color: var(--overflow-text-color);
  padding: var(--nano-spacing-md);
}
.gn__user-panel a {
  color: var(--overflow-text-color);
}
.gn__user-panel a:hover {
  text-decoration: underline;
  color: var(--overflow-hover-text-color);
}

.gn__user-panel-head {
  font-size: var(--nano-font-size-xs);
  line-height: var(--nano-line-height-normal);
  letter-spacing: var(--nano-letter-spacing-loose);
  padding-block-end: var(--nano-spacing-md);
  display: flex;
  align-items: center;
  gap: var(--nano-spacing-sm);
  font-size: var(--nano-font-size-xs);
}
.gn__user-panel-head .gn__user-avatar nano-icon {
  font-size: 2.5rem;
}

.gn__user-panel-body {
  display: flex;
  flex-direction: column;
}
.gn__user-panel-body a {
  position: relative;
  border-block-end: 1px solid rgb(var(--nano-color-base-rgb-1000)/10%);
  padding-block: var(--nano-spacing-md);
}
.gn__user-panel-body a:first-child {
  border-block-start: 1px solid rgb(var(--nano-color-base-rgb-1000)/10%);
}

.gn__user-panel-foot {
  padding-block-start: var(--nano-spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nano-spacing-md);
}

.gn__drawer {
  --panel-background: var(--overflow-bg-color);
  --header-button-color: var(--overflow-text-color);
  --body-spacing: 0;
  --header-spacing: var(--nano-spacing-md) 0;
  --footer-spacing: var(--nano-spacing-md);
}
.gn__drawer::part(title) {
  display: flex;
  justify-content: flex-end;
}
.gn__drawer::part(header-actions) {
  order: -1;
}

.gn__drawer-header {
  clip-path: inset(50%);
  block-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  inline-size: 1px;
}

.gn__drawer-menu {
  display: flex;
  flex-direction: column;
  margin: 0 var(--nano-spacing-md);
  padding-block-end: var(--nano-spacing-md);
  color: var(--overflow-text-color);
  border-block-start: 1px solid rgb(var(--nano-color-base-rgb-1000)/10%);
  position: relative;
}
.gn__drawer-menu ::slotted(a), .gn__drawer-menu::slotted(a) {
  padding: var(--nano-spacing-md) 0;
}
.gn__drawer-menu ::slotted(a),
.gn__drawer-menu ::slotted(.nano-nav-item), .gn__drawer-menu::slotted(a), .gn__drawer-menu::slotted(.nano-nav-item) {
  --padding: var(--nano-spacing-md) 0;
  display: block;
  color: inherit !important;
  border-block-end: 1px solid rgb(var(--nano-color-base-rgb-1000)/10%);
}
.gn__drawer-menu ::slotted(a:hover),
.gn__drawer-menu ::slotted(.nano-nav-item:hover) {
  text-decoration: underline;
  color: var(--overflow-hover-text-color) !important;
}