/* Currency selector and hamburger stability patch. No other page styles are changed. */

.nova-currency {
  position: relative;
  display: inline-grid !important;
  grid-template-columns: 1rem minmax(2.4rem, auto) .72rem;
  align-items: center !important;
  justify-content: initial !important;
  column-gap: .48rem !important;
  min-width: 6.75rem;
  height: 2.75rem;
  padding: 0 .72rem !important;
  overflow: visible;
  cursor: pointer;
}

.nova-currency__icon {
  width: 1rem;
  display: grid !important;
  place-items: center;
  color: rgb(var(--nova-gold));
  font-size: .78rem !important;
  line-height: 1 !important;
  pointer-events: none;
}

.nova-currency select {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  color: rgba(var(--nova-white), .88) !important;
  opacity: 1 !important;
  font-size: .75rem;
  font-weight: 800;
  line-height: normal !important;
  cursor: pointer;
}

.nova-currency select::-ms-expand {
  display: none;
}

.nova-currency__arrow {
  width: .72rem;
  display: grid;
  place-items: center;
  color: rgba(var(--nova-gold-2), .75);
  font-size: .58rem;
  line-height: 1;
  pointer-events: none;
  transition: color .2s ease, transform .2s ease;
}

.nova-currency:hover .nova-currency__arrow,
.nova-currency:focus-within .nova-currency__arrow {
  color: rgb(var(--nova-gold));
}

.nova-currency:focus-within {
  border-color: rgba(var(--nova-gold), .35) !important;
  box-shadow: 0 0 0 3px rgba(var(--nova-gold), .07), 0 0 18px rgba(var(--nova-gold), .08) !important;
}

/* Choices must not replace the compact header currency control. */
.nova-currency > .choices {
  display: none !important;
}

.nova-menu-btn {
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  overflow: hidden;
}

.nova-menu-btn span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  width: 1.08rem !important;
  height: 2px !important;
  border-radius: 999px;
  background: rgb(var(--nova-gold)) !important;
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease, width .22s ease;
  pointer-events: none;
}

.nova-menu-btn span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 5px));
}

.nova-menu-btn span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nova-menu-btn span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 5px));
}

.nova-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nova-menu-btn[aria-expanded="true"] span:nth-child(2) {
  width: 0 !important;
  opacity: 0;
}

.nova-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nova-menu-btn:focus-visible {
  outline: 2px solid rgba(var(--nova-gold), .62);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .nova-menu-btn {
    display: grid !important;
  }
}

@media (min-width: 1101px) {
  .nova-menu-btn {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .nova-currency {
    width: 5.6rem !important;
    min-width: 5.6rem !important;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    grid-template-columns: .9rem minmax(1.9rem, auto) .62rem;
    column-gap: .34rem !important;
    padding: 0 .58rem !important;
    border-radius: .75rem !important;
  }

  .nova-currency__icon {
    width: .9rem;
    font-size: .72rem !important;
  }

  .nova-currency select {
    font-size: .69rem;
  }

  .nova-currency__arrow {
    width: .62rem;
    font-size: .52rem;
  }
}

@media (max-width: 390px) {
  .nova-nav__actions {
    gap: .38rem !important;
  }

  .nova-currency {
    width: 4.95rem !important;
    min-width: 4.95rem !important;
    grid-template-columns: .82rem minmax(1.65rem, auto) .52rem;
    column-gap: .25rem !important;
    padding-inline: .46rem !important;
  }

  .nova-currency select {
    font-size: .65rem;
  }
}
