.ah-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ah-topbar > .ah-topbar-item:first-child {
  justify-self: start;
}

.ah-topbar > .ah-topbar-item:last-child {
  justify-self: end;
  text-align: right;
}

.ah-topbar-item .dashicons {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff8d7;
  font-size: 15px;
  line-height: 1;
}

.ah-delivery-ticker {
  display: block;
  overflow: hidden;
  min-width: 0;
  color: #fff8d7;
  white-space: nowrap;
}

.ah-delivery-track {
  display: inline-flex;
  width: max-content;
  gap: 42px;
  animation: ah-topbar-ticker 20s linear infinite;
}

.ah-delivery-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
}

.ah-delivery-ticker:hover .ah-delivery-track {
  animation-play-state: paused;
}

@keyframes ah-topbar-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ah-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(8, 61, 28, .14);
  border-radius: 999px;
  background: #fff;
  color: var(--g950);
  cursor: pointer;
}

.ah-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.ah-menu-toggle span + span {
  margin-top: 5px;
}

@media (max-width: 760px) {
  .ah-topbar-item {
    justify-content: center;
  }

  .ah-topbar > .ah-topbar-item:first-child,
  .ah-topbar > .ah-topbar-item:last-child {
    justify-self: center;
    text-align: center;
  }

  .ah-topbar-item .dashicons {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  .ah-delivery-ticker {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .ah-delivery-track {
    gap: 30px;
    animation-duration: 16s;
  }

  .ah-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: auto !important;
    padding: 14px 28px !important;
    background: #fff !important;
  }

  .ah-logo img {
    width: 178px !important;
    height: 58px !important;
  }

  .ah-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-self: end;
  }

  .ah-header.is-menu-open .ah-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ah-header.is-menu-open .ah-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .ah-header.is-menu-open .ah-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ah-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 8px 0 0;
  }

  .ah-header.is-menu-open .ah-nav {
    display: block;
  }

  .ah-nav ul {
    display: grid !important;
    gap: 8px !important;
    justify-content: stretch !important;
    overflow: visible !important;
  }

  .ah-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px !important;
    border: 1px solid rgba(8, 61, 28, .1);
    border-radius: 8px;
    background: #fffdf8;
  }

  .ah-nav .current-menu-item > a:after,
  .ah-nav a:hover:after {
    display: none !important;
  }

  .ah-actions {
    grid-column: 1 / -1;
    justify-content: space-between !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .ah-actions > * {
    flex: 0 1 auto !important;
  }

  .ah-cart-pill {
    min-width: 0;
  }

  .ah-consult {
    min-width: 132px !important;
    padding: 0 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-menu-toggle span {
    transition: none;
  }

  .ah-delivery-track {
    animation: none;
  }

  .ah-delivery-track span:not(:first-child) {
    display: none;
  }
}
