/* SKUDADDY header on WordPress pages — copy of the app header (src/app/layout/header). Scoped to #sd-site-header. */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(archivo-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Theme shield: inside the header, the theme's rules (a, button, input, summary, svg…) do not apply */
#sd-site-header, #sd-site-header :not(svg, svg *) { all: revert; box-sizing: border-box; }
#sd-site-header {
  --sd-ink: #1d2129; --sd-muted: #5b6270; --sd-accent: #ff6a00; --sd-accent-strong: #ff8533; --sd-on-accent: #000;
  --sd-max: 1360px; --sd-gutter: clamp(16px, 3vw, 32px);
  --sd-font: 'Archivo Variable', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  display: block; position: relative; z-index: 1000; margin: 0;
  background: #000; color: #fff;
  font-family: var(--sd-font); font-size: 15px; line-height: 1.45; text-align: start;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
#sd-site-header .sd-i { display: block; flex: none; fill: currentColor; }
#sd-site-header .sd-inner {
  max-width: var(--sd-max); margin: 0 auto; padding: 10px var(--sd-gutter);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
}
#sd-site-header .sd-logo { display: inline-flex; }
#sd-site-header .sd-logo img { display: block; height: 36px; width: auto; max-width: none; border: 0; padding: 0; margin: 0; }

#sd-site-header .sd-search {
  display: flex; align-items: center; height: 44px; max-width: 640px; width: 100%; justify-self: center; margin: 0;
  border-radius: 999px; background: #fff; color: var(--sd-ink); padding: 0 4px 0 14px;
}
#sd-site-header .sd-search:focus-within { box-shadow: 0 0 0 3px var(--sd-accent); }
#sd-site-header .sd-search input {
  flex: 1; min-width: 0; height: 100%; margin: 0; border: 0; outline: 0; background: none; box-shadow: none;
  font: inherit; font-size: 15px; padding: 0 10px; color: inherit;
}
#sd-site-header .sd-search-icon { color: var(--sd-muted); }
#sd-site-header .sd-search-btn {
  height: 36px; padding: 0 18px; margin: 0; border: 0; border-radius: 999px; background: var(--sd-accent); color: var(--sd-on-accent);
  font: inherit; font-weight: 600; cursor: pointer; line-height: 1;
}
#sd-site-header .sd-search-btn:hover { background: var(--sd-accent-strong); }

#sd-site-header .sd-nav { display: flex; align-items: center; gap: 4px; }
#sd-site-header .sd-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; margin: 0;
  border: 0; border-radius: 8px; background: none; color: #fff; font: inherit; font-size: 14px;
  text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap;
}
#sd-site-header .sd-link::-webkit-details-marker { display: none; }
#sd-site-header .sd-link::marker { content: ''; }
#sd-site-header .sd-link:hover, #sd-site-header .sd-dd[open] > .sd-link { background: rgba(255, 255, 255, .12); }
#sd-site-header .sd-link:focus-visible, #sd-site-header .sd-item:focus-visible, #sd-site-header .sd-cta:focus-visible {
  outline: 3px solid var(--sd-accent); outline-offset: 2px;
}
#sd-site-header .sd-lang-btn span, #sd-site-header .sd-cur-btn span { font-weight: 500; }
#sd-site-header .sd-cur-symbol { display: inline-flex; justify-content: center; min-width: 20px; font-size: 17px; }
#sd-site-header .sd-cta {
  height: 36px; display: inline-flex; align-items: center; padding: 0 14px; margin: 0 4px;
  border-radius: 999px; border: 1px solid var(--sd-accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}
#sd-site-header .sd-cta:hover { background: var(--sd-accent); color: var(--sd-on-accent); }

/* Menus (look of the app's Material menus) */
#sd-site-header .sd-dd { position: relative; display: block; margin: 0; padding: 0; }
#sd-site-header .sd-menu {
  position: absolute; top: calc(100% + 4px); inset-inline-end: 0; min-width: 112px; max-width: 280px; width: max-content;
  padding: 8px 0; margin: 0; border-radius: 4px; background: #fff; color: rgba(0, 0, 0, .87);
  box-shadow: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
  display: flex; flex-direction: column; z-index: 1001;
}
#sd-site-header .sd-item {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px; margin: 0; width: 100%;
  border: 0; background: none; color: inherit; font: inherit; font-size: 16px; text-align: start; text-decoration: none;
  cursor: pointer; white-space: nowrap;
}
#sd-site-header .sd-item:hover, #sd-site-header .sd-item:focus-visible { background: rgba(0, 0, 0, .04); }
#sd-site-header .sd-mi { margin-inline-end: 12px; color: var(--sd-muted); }
#sd-site-header .sd-check { display: inline-flex; width: 18px; margin-inline-end: 12px; color: var(--sd-accent-strong); }
#sd-site-header .sd-check .sd-i { visibility: hidden; }
#sd-site-header .sd-item[aria-current="true"] .sd-check .sd-i { visibility: visible; }
#sd-site-header .sd-cur-code { display: inline-block; min-width: 3.2em; margin-inline-end: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
[dir="rtl"] #sd-site-header .sd-flip { transform: scaleX(-1); }

@media (max-width: 899px) {
  #sd-site-header .sd-inner { grid-template-columns: auto 1fr; gap: 10px 12px; }
  #sd-site-header .sd-nav { justify-self: end; }
  #sd-site-header .sd-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  #sd-site-header .sd-link span { display: none; }
  #sd-site-header .sd-link .sd-cur-symbol { display: inline-flex; }
}
@media (max-width: 420px) {
  #sd-site-header .sd-cta { display: none; }
  #sd-site-header .sd-search-btn { padding: 0 14px; }
  #sd-site-header .sd-menu { position: fixed; top: 60px; inset-inline: 8px auto; max-width: calc(100vw - 16px); }
}
