/* The website's header (templates: ecommerce/_site_header.html). Self-contained so pages with
   their own styles (the support site) can use it: every rule is scoped to .site-header and
   the colours are its own. */

@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.862116afc1c2.woff2") format("woff2"); }

.site-header {
  --sh-bg: #f6f5f2; --sh-bg-alt: #ecebe6; --sh-ink: #1f2123; --sh-brand-ink: #333333;
  --sh-line: #d9d7d0; --sh-green: #0aa74b; --sh-green-hover: #08913f; --sh-on-green: #ffffff;
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--sh-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--sh-line);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light-only) .site-header {
    --sh-bg: #141516; --sh-bg-alt: #1b1c1e; --sh-ink: #ecebe8; --sh-brand-ink: #ecebe8;
    --sh-line: #34373a; --sh-green: #16b457; --sh-green-hover: #1fc865; --sh-on-green: #06140b;
  }
}
.site-header .wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
@media (min-width: 640px) { .site-header .wrap { padding: 0 32px; } }
.site-header .header-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.site-header .brand { color: var(--sh-brand-ink); display: flex; margin-right: auto; }
.site-header .brand svg { height: 26px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a, .site-header .nav-cta {
  color: var(--sh-ink); text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: 8px 10px; border-radius: 8px; line-height: 1.6; white-space: nowrap;
}
.site-header nav a:hover, .site-header nav a[aria-current] { background: var(--sh-bg-alt); }
.site-header .nav-cart { color: var(--sh-ink); text-decoration: none; font-weight: 500; padding: 8px 10px;
  border-radius: 8px; white-space: nowrap; }
.site-header .nav-cart:hover { background: var(--sh-bg-alt); }
.site-header .nav-cart span { display: inline-block; min-width: 1.4em; padding: 0 5px; margin-left: 2px; border-radius: 99px;
  background: var(--sh-ink); color: var(--sh-bg); font-size: .85rem; text-align: center; }
.site-header .nav-cta { background: var(--sh-green); color: var(--sh-on-green); padding: 8px 14px; }
.site-header .nav-cta:hover { background: var(--sh-green-hover); }
.site-header .nav-toggle {
  display: none; align-items: center; justify-content: center; width: 42px; height: 42px;
  margin-right: -8px; padding: 0; border: 0; border-radius: 8px; background: none;
  color: var(--sh-ink); cursor: pointer;
}
.site-header .nav-toggle:hover, .site-header.nav-open .nav-toggle { background: var(--sh-bg-alt); }
.site-header .nav-toggle path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
/* Phones: the links fold into the menu button and drop down below the header. */
@media (max-width: 719px) {
  .site-header .nav-toggle { display: inline-flex; }
  .site-header .nav-cta { padding: 6px 12px; }
  .site-header nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 12px;
    background: var(--sh-bg); border-bottom: 1px solid var(--sh-line);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.12);
  }
  .site-header.nav-open nav { display: flex; }
  .site-header nav a { padding: 10px 12px; }
}
