/* FixImports site nav — shared by every page.
   Colours come from each page's own CSS variables (--surface, --ink, --line,
   --green, --green-dark, --green-soft, --surface-2), defined site-wide. */
.sitenav {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.sitenav .nav-row {
  display: flex; align-items: center; gap: 18px;
  padding-top: 10px; padding-bottom: 10px;
  position: relative;
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 900; font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-brand-name span { color: var(--green); }
.nav-panel {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.nav-group { position: relative; }
.nav-top {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px 11px; border-radius: 9px; white-space: nowrap;
}
.nav-top:hover, .nav-top:focus-visible { background: var(--surface-2); color: var(--ink); }
.nav-caret { font-size: 10px; color: var(--ink-3); }
.nav-drop {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(11, 43, 107, 0.16);
  padding: 6px; z-index: 60;
}
.nav-drop a {
  display: block; padding: 9px 11px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.nav-drop a:hover, .nav-drop a:focus-visible { background: var(--green-soft); }
.nav-group.open .nav-drop { display: block; }
@media (hover: hover) and (min-width: 881px) {
  .nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { display: block; }
}
.nav-cta {
  color: var(--green-dark); font-weight: 800;
  border: 1px solid var(--line-strong, var(--line)); border-radius: 999px;
  margin-left: 6px;
}
.nav-burger {
  display: none; margin-left: auto;
  width: 42px; height: 38px; padding: 9px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-burger span + span { margin-top: 5px; }

/* ---- Mega-footer — shared by every page, same shell pattern as the header.
   The canonical markup lives in shopify-csv-template/index.html (the guide
   page tools/gen_error_pages.py extracts the shell from). ---- */
.sitefooter {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  padding: 36px 0 42px;
  margin-top: 44px;
}
.sitefooter .wrap { display: block; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 26px 34px;
}
.foot-name { color: var(--ink); font-size: 15.5px; }
.foot-brand p { margin: 10px 0 0; line-height: 1.55; color: var(--ink-3, var(--ink-2)); max-width: 36ch; }
.foot-col h3 {
  margin: 3px 0 10px; font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink);
}
.foot-col a {
  display: block; padding: 4px 0;
  color: var(--link, var(--green-dark)); text-decoration: none; font-weight: 600;
}
.foot-col a:hover, .foot-col a:focus-visible { text-decoration: underline; }
.foot-legal {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  margin-top: 30px; padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3, var(--ink-2)); font-size: 13px;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav-burger { display: block; }
  .nav-panel {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 43, 107, 0.18);
    padding: 10px 16px 16px;
  }
  .sitenav.open .nav-panel { display: flex; }
  .nav-top { width: 100%; justify-content: space-between; padding: 11px 10px; font-size: 15.5px; }
  .nav-drop {
    position: static; box-shadow: none; border: 0; border-radius: 0;
    min-width: 0; padding: 0 0 4px 14px;
  }
  .nav-drop a { padding: 9px 10px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
}
