/* =============================================================
   NOD — shared blind storefront header (store home + by-size
   landing pages + the order builder). Matches store.html's header:
   brand (logo or name) → store home, product nav, "Start an order"
   CTA. Colors key off the --brand family (set per-store by
   store-theme.js) with neutral fallbacks so it's never unstyled.
   Rendered by store-header.js into <header data-store-header>.
   ============================================================= */
.sf-hdr { background: #fff; border-bottom: 1px solid #e6ebf2; position: sticky; top: 0; z-index: 30; }
.sf-hdr-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 clamp(16px, 4vw, 32px); }
.sf-hdr-brand { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #0d1422; text-decoration: none; display: inline-flex; align-items: center; flex: 0 0 auto; }
.sf-hdr-logo { max-height: 38px; max-width: 170px; object-fit: contain; display: block; }
.sf-hdr-nav { display: flex; gap: 4px; align-items: center; margin-right: auto; flex-wrap: wrap; }
.sf-hdr-navlink { font-size: 14px; font-weight: 650; color: #475569; text-decoration: none; padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.sf-hdr-navlink:hover { color: var(--brand-ink, #0b63c4); background: var(--brand-soft, #eaf3ff); }
.sf-hdr-navlink.is-current { color: var(--brand-ink, #0b63c4); background: var(--brand-soft, #eaf3ff); }
.sf-hdr-cta { background: var(--brand, #0a84ff); color: #fff; border: 0; border-radius: 9px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; flex: 0 0 auto; white-space: nowrap; }
.sf-hdr-cta:hover { filter: brightness(.94); }
/* no nav links (single product) → brand still left, CTA right */
.sf-hdr-nav:empty { margin-right: auto; }
.sf-hdr-burger { display: none; border: none; background: none; color: #0d1422; padding: 8px; cursor: pointer; border-radius: 9px; }
.sf-hdr-burger:hover { background: var(--brand-soft, #eaf3ff); color: var(--brand-ink, #0b63c4); }
@media (max-width: 680px) {
  .sf-hdr-burger { display: inline-flex; order: -1; }
  .sf-hdr-cta { margin-left: auto; }
  .sf-hdr-nav { display: none; }
  /* burger opens the nav as a full-width panel under the sticky header */
  .sf-hdr-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid #e6ebf2; box-shadow: 0 22px 34px rgba(13, 20, 34, 0.14); padding: 8px 14px 14px; gap: 2px; z-index: 50; }
  .sf-hdr-nav.open .sf-hdr-navlink { padding: 12px; font-size: 15.5px; }
  .sf-hdr-nav.open .sf-hdr-drop { position: static; }
  .sf-hdr-nav.open .sf-hdr-dropbtn { width: 100%; justify-content: space-between; }
  .sf-hdr-nav.open .sf-hdr-dropmenu { position: static; box-shadow: none; border: none; min-width: 0; padding: 0 0 4px 10px; }
}

/* supplies dropdown in the store header nav */
.sf-hdr-drop { position: relative; }
.sf-hdr-dropbtn { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; font-family: inherit; font-size: 14px; font-weight: 650; line-height: inherit; color: #475569; cursor: pointer; }
.sf-hdr-dropmenu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 60; min-width: 280px; background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; box-shadow: 0 14px 34px rgba(13, 20, 34, 0.14); padding: 6px; }
.sf-hdr-dropitem { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #0d1422; font-weight: 600; font-size: 14px; }
.sf-hdr-dropimg { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: #f1f5f9; display: block; }
.sf-hdr-dropimg--ph { border: 1px solid #e6ebf2; }
.sf-hdr-dropitem:hover { color: var(--brand-ink, #0b63c4); background: var(--brand-soft, #eaf3ff); }
