.topbar {
  background: var(--navy);
  color: var(--faint);
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--faint);
  text-align: center;
}

.topbar__note svg {
  width: 14px;
  height: 14px;
  fill: var(--lime);
  flex-shrink: 0;
}

.topbar__links {
  display: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.menu-btn {
  order: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.menu-btn:hover {
  background: var(--lime-soft);
}

.menu-btn__icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand {
  order: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex: 1 1 auto;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand__mark {
  transform: translateY(-1px) scale(1.03);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1.3;
  white-space: nowrap;
}

.brand__tagline {
  display: none;
}

.logo {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo__wedge {
  fill: var(--dough);
  fill-opacity: 0;
  stroke: var(--navy);
  stroke-width: 9;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation:
    drawWedge 0.85s cubic-bezier(0.5, 0, 0.2, 1) forwards,
    fillWedge 0.35s ease forwards;
  animation-delay:
    calc(var(--i) * 0.08s),
    calc(var(--i) * 0.08s + 0.8s);
}

.logo__topping {
  fill: var(--navy);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: popTopping 0.4s cubic-bezier(0.34, 1.4, 0.5, 1) forwards;
  animation-delay: calc(var(--i) * 0.08s + 1.1s);
}

.logo__shard {
  animation: sliceOut 1.9s cubic-bezier(0.34, 1.2, 0.4, 1)
             calc(var(--i) * 0.08s + 2.1s) both;
}

.search {
  position: relative;
  order: 4;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  height: 42px;
  background: var(--bg);
  border: 1px solid transparent;
  padding: 0 12px;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.search:focus-within {
  background: var(--white);
  border-color: var(--lime);
  box-shadow: var(--lime-ring);
}

.search__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--faint);
  pointer-events: none;
  transition: color 0.2s var(--ease);
}

.search:focus-within .search__icon {
  color: var(--navy);
}

.search__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  line-height: 36px;
  border: none;
  background: transparent;
  padding: 0 10px;
  font-size: 0.9rem;
  outline: none;
  color: var(--text);
}

.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search__input::placeholder {
  color: var(--faint);
  line-height: normal;
}

.actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

.action {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 9px 11px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.action:hover {
  background: var(--lime-soft);
  color: var(--navy);
}

.action__icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex-shrink: 0;
}

.action--cart {
  border: 1px solid var(--border);
  padding-inline: 13px;
}

.action--cart:hover {
  border-color: var(--lime);
}

.badge {
  position: absolute;
  top: 3px;
  inset-inline-start: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
}

.action--location {
  display: none;
}

.action__label {
  display: none;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(15, 19, 25, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease),
    visibility 0s 0.25s;
}

.menu-toggle:checked ~ .mobile-menu__overlay {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.25s var(--ease),
    visibility 0s 0s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80%;
  max-width: 360px;
  z-index: 2000;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.35s var(--ease),
    visibility 0s 0.35s;
}

.menu-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
  visibility: visible;
  overflow-y: auto;
  transition:
    transform 0.35s var(--ease),
    visibility 0s 0s;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.mobile-menu__close:hover {
  background: var(--lime-soft);
}

.mobile-menu__close svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
}

.mobile-menu__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.mobile-menu__logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--lime-dark);
}

.mobile-menu__logo svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mobile-menu__body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.mobile-menu__banner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--navy);
  border-inline-start: 4px solid var(--lime);
  color: var(--white);
}

.mobile-menu__banner-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lime);
}

.mobile-menu__banner-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-menu__banner-cta {
  align-self: flex-start;
  margin-top: var(--sp-sm);
  padding: 8px 16px;
  background: var(--lime);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
}

.mobile-menu__list a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.mobile-menu__list a:hover {
  color: var(--lime-dark);
}

.mobile-menu__apps {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.mobile-menu__apps-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-menu__apps-buttons {
  display: flex;
  gap: var(--sp-sm);
}

.mobile-menu__app {
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s var(--ease);
}

.mobile-menu__app:hover {
  background: var(--navy-2);
}

.header-nav {
  display: none;
  border-top: 1px solid var(--border);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  min-height: 54px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  padding-right: 4px;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 2px;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    outline 0.1s var(--ease);
}

.nav li {
  margin: 4px 0;
  flex-shrink: 0;
}

.nav a:hover {
  background: var(--lime-soft);
  color: var(--navy);
}

.nav a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  box-shadow: none;
}

.nav a.is-active {
  color: var(--navy);
  font-weight: 800;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-lg);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
}

.footer__brand .brand {
  order: -1;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.footer__brand .brand__mark {
  width: 44px;
  height: 44px;
}

.footer__brand .brand__name {
  font-size: 1rem;
}

.footer__brand .brand__tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}

.footer__about {
  order: 1;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
  text-align: start;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.footer__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--sp-sm);
}

.footer__title--mt {
  margin-top: var(--sp-md);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__list a,
.footer__list li {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer__list a:hover {
  color: var(--navy);
}

.footer__hours {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  align-items: center;
  text-align: center;
  padding-top: var(--sp-md);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--faint);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.footer__top:hover {
  border-color: var(--lime);
  color: var(--navy);
  background: var(--lime-soft);
}

.footer__top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__brand .brand {
    order: 0;
  }
}

@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu__overlay {
    display: none;
    visibility: hidden;
    pointer-events: none;
  }
}

.hero-carousel__track,
.categories__list,
.products__grid {
  scrollbar-width: thin;
  scrollbar-color: var(--lime) var(--bg);
}

.hero-carousel__track::-webkit-scrollbar,
.categories__list::-webkit-scrollbar,
.products__grid::-webkit-scrollbar {
  height: 6px;
}

.hero-carousel__track::-webkit-scrollbar-track,
.categories__list::-webkit-scrollbar-track,
.products__grid::-webkit-scrollbar-track {
  background: var(--bg);
}

.hero-carousel__track::-webkit-scrollbar-thumb,
.categories__list::-webkit-scrollbar-thumb,
.products__grid::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: var(--radius-full);
}

.hero-carousel__track::-webkit-scrollbar-thumb:hover,
.categories__list::-webkit-scrollbar-thumb:hover,
.products__grid::-webkit-scrollbar-thumb:hover {
  background: var(--lime-dark);
}