:focus-visible {
  outline: 3px solid #f63b96;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  transform: translateY(-180%);
  border-radius: 9999px;
  background: #00563f;
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

.nav-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  background: #00563f;
  color: #fff;
  padding: 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.order-now:hover .nav-cart-count,
.mobile-menu-order:hover .nav-cart-count {
  background: #f48fb1;
  color: #2f2f2f;
}

.nav-cart-count[hidden] {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
}

.mobile-nav-cart-count {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #fffdf6;
  border-radius: 9999px;
  background: #00563f;
  color: #fff;
  padding: 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.mobile-nav-cart-count[hidden] {
  display: none;
}

.clone-category-toolbar {
  position: sticky;
  top: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4rem;
  border: 1px solid rgba(0, 86, 63, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.94);
  padding: 0.4rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 86, 63, 0.1);
  backdrop-filter: blur(12px);
}

.clone-category-toolbar .clone-category-nav {
  position: static;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.clone-category-toolbar .clone-category-nav::-webkit-scrollbar {
  display: none;
}

.menu-tools {
  position: relative;
  flex: 0 0 auto;
  margin-left: 0.3rem;
}

.menu-search-toggle {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 50%;
  background: #00563f;
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.menu-search-toggle:hover,
.menu-search-toggle:focus-visible,
.menu-tools.is-open .menu-search-toggle,
.menu-tools.has-query .menu-search-toggle {
  background: #f48fb1;
}

.menu-search-toggle:active {
  transform: scale(0.94);
}

.menu-search-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.menu-search-popover {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(21rem, calc(100vw - 2rem));
  border: 1px solid rgba(0, 86, 63, 0.14);
  border-radius: 1rem;
  background: rgba(255, 253, 246, 0.98);
  padding: 0.7rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 43, 32, 0.16);
  backdrop-filter: blur(14px);
}

.menu-search-popover[hidden] {
  display: none;
}

.menu-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-search {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(0, 86, 63, 0.18);
  border-radius: 999px;
  background: #fff;
  padding: 0 1.1rem;
  color: #2f2f2f;
  font: inherit;
}

.menu-search-count {
  display: block;
  min-height: 1.2em;
  margin: 0.4rem 0.45rem 0;
  color: #59645f;
  font-size: 0.72rem;
}

.clone-product[hidden],
.clone-category[hidden] {
  display: none !important;
}

.joy-status-toast {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 300;
  max-width: min(24rem, calc(100% - 2rem));
  border-radius: 999px;
  background: #00563f;
  color: white;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 1rem 2.5rem rgba(0, 43, 32, 0.3);
}

@media (max-width: 760px) {
  .clone-category-toolbar {
    top: 4.5rem;
    width: 100%;
    margin: 0 0 1.9rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 0.65rem 1rem;
  }

  .clone-category-toolbar .clone-category-nav {
    gap: 0.35rem;
  }

  .menu-search-popover {
    right: -0.25rem;
    width: min(19rem, calc(100vw - 1.25rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  .mobile-menu-modal,
  .mobile-menu-panel,
  .mobile-order-dock {
    transition: none !important;
  }
}
