/* Shared site header. Every public page uses the same markup:
   .site-header > .sh-inner > .sh-brand + .sh-links + .sh-actions
   Colors come from the --sh-* variables so a seasonal theme can restyle it in one place. */
.site-header {
  --sh-bg: rgba(255, 248, 243, .94);
  --sh-border: #efe6f3;
  --sh-text: #2b2640;
  --sh-muted: #6f6a85;
  --sh-hover-bg: #faf2ff;
  --sh-active: #9b5de5;
  --sh-logo: linear-gradient(135deg, #ff5d8f, #ff9f1c, #ffd166, #06d6a0, #3a86ff, #9b5de5);
  --sh-cta: linear-gradient(135deg, #9b5de5 0%, #ff5d8f 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sh-bg);
  border-bottom: 1px solid var(--sh-border);
  backdrop-filter: blur(10px);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-width: 0;
}
.site-header .sh-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px 20px;
}
.site-header .sh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--sh-text);
  font: 700 1.2rem/1.2 "Fredoka", "Nunito", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .sh-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--sh-logo);
  color: #fff;
  font-weight: 700;
}
.site-header .sh-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
}
.site-header .sh-links a {
  flex: none;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--sh-muted);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.site-header .sh-links a:hover { color: var(--sh-text); background: var(--sh-hover-bg); }
.site-header .sh-links a[aria-current="page"] { color: var(--sh-active); background: var(--sh-hover-bg); }
.site-header .sh-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.site-header .sh-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--sh-cta);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .sh-actions .cartbtn { white-space: nowrap; }

/* Tablet and phone: brand and actions on one row, links on a second row that scrolls sideways
   instead of wrapping, so the header stays two rows tall on every screen. */
@media (max-width: 1080px) {
  .site-header .sh-inner { flex-wrap: wrap; padding: 10px 16px 6px; }
  .site-header .sh-actions { margin-left: auto; }
  .site-header .sh-links {
    order: 3;
    flex: 1 1 100%;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .site-header .sh-links::-webkit-scrollbar { display: none; }
  .site-header .sh-links a:last-child { margin-right: 28px; }
}
@media (max-width: 420px) {
  .site-header .sh-brand { font-size: 1.05rem; gap: 8px; }
  .site-header .sh-logo { width: 30px; height: 30px; border-radius: 9px; }
  .site-header .sh-cta { padding: 8px 13px; font-size: .9rem; }
  .site-header .sh-links a { padding: 7px 9px; font-size: .9rem; }
}
@media (max-width: 350px) {
  .site-header .sh-brand .sh-name { display: none; }
}
/* Shop: shrink the cart button to the icon and count on phones so it fits beside the quote button. */
@media (max-width: 480px) {
  .site-header .cartbtn .sh-cart-label { display: none; }
  .site-header .cartbtn { padding: 8px 12px; }
}
