/* Retail navigation: clearer wayfinding inspired by strong Australian convenience-store patterns. */
.store-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, .97);
  box-shadow: 0 8px 26px rgba(20, 50, 41, .06);
}

.utility-bar {
  min-height: 32px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
}

.utility-bar p { margin: 0; }
.utility-bar a { color: #e8f3ee; text-decoration: none; }
.utility-bar a:hover { color: var(--lime); }

.store-header {
  height: 76px;
  position: relative;
  top: auto;
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(300px, 1.6fr) minmax(265px, .8fr);
  gap: clamp(18px, 3vw, 42px);
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(216, 208, 188, .75);
}

.store-header .wordmark { font-size: 28px; justify-self: start; }

.site-search {
  height: 46px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border: 1px solid #c9c1ad;
  border-radius: 999px;
  background: white;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 107, 79, .12);
}

.site-search > span { font-size: 22px; line-height: 1; transform: rotate(-15deg); }
.site-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.site-search input::placeholder { color: #6c7c76; }
.site-search button {
  align-self: stretch;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.header-visit {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}
.header-visit:hover { background: #eee8da; }
.header-visit b { color: var(--orange); }

.navigation-bar {
  min-height: 46px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.navigation-bar nav { align-self: stretch; display: flex; align-items: stretch; gap: clamp(24px, 3vw, 44px); }
.navigation-bar nav a {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}
.navigation-bar nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.navigation-bar nav a:hover::after,
.navigation-bar nav a[aria-current="true"]::after { transform: scaleX(1); }
.navigation-bar p { margin: 0; color: #597069; font-size: 11px; font-weight: 750; }
.navigation-bar p span { color: var(--green); margin-right: 7px; }

.menu-toggle,
.mobile-menu { display: none; }
.product-results-summary { min-height: 22px; margin: -7px 0 18px; color: #60736d; font-size: 13px; }

/* Account for the full navigation stack while preserving the photo-only first screen. */
.store-hero { min-height: calc(100svh - 154px); }
@supports not (height: 100svh) {
  .store-hero { min-height: calc(100vh - 154px); }
}

section[id] { scroll-margin-top: 170px; }

@media (max-width: 1020px) {
  .store-header { grid-template-columns: auto minmax(240px, 1fr) auto; gap: 16px; }
  .header-visit { display: none; }
  .navigation-bar p { display: none; }
}

@media (max-width: 720px) {
  body.menu-open { overflow: hidden; }
  .utility-bar { min-height: 30px; padding-inline: 16px; justify-content: center; }
  .utility-bar p { display: none; }
  .utility-bar a { font-size: 10px; }
  .store-header {
    height: 68px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-inline: 16px;
  }
  .store-header .wordmark { font-size: 25px; }
  .site-search,
  .navigation-bar { display: none; }
  .header-actions { gap: 7px; }
  .cart-button { min-height: 42px; padding: 8px; }
  .cart-button span { display: none; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    cursor: pointer;
  }
  .menu-toggle span { width: 17px; height: 2px; display: block; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    top: 98px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    display: block;
    padding: 24px 18px 36px;
    overflow: auto;
    background: var(--paper);
    animation: mobile-menu-in .28s ease both;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-search > label { display: block; margin-bottom: 9px; font-family: Georgia, serif; font-size: 23px; font-weight: 700; }
  .mobile-search > div { display: flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; background: white; }
  .mobile-search input { width: 100%; min-height: 50px; padding: 0 18px; border: 0; outline: 0; background: transparent; }
  .mobile-search button { width: 50px; margin: 4px; border: 0; border-radius: 50%; background: var(--orange); color: white; font-size: 19px; }
  .mobile-menu nav { display: grid; margin: 28px 0; border-top: 1px solid var(--line); }
  .mobile-menu nav a { padding: 17px 4px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: Georgia, serif; font-size: 29px; font-weight: 700; }
  .mobile-menu nav span { color: var(--orange); font-family: Inter, sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
  .mobile-directions { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-radius: 999px; background: var(--green); color: white; text-decoration: none; font-weight: 850; }
  .store-hero { min-height: calc(100svh - 98px); }
  section[id] { scroll-margin-top: 112px; }
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { animation: none; }
  .navigation-bar nav a::after,
  .menu-toggle span { transition: none; }
}
