:root {
  --sh-header-bg: rgba(10, 5, 20, 0.90);
  --sh-border: rgba(255, 255, 255, 0.12);
  --sh-text: #f5f7ff;
  --sh-text-dim: #c4c4d2;
  --sh-accent: #6d28d9;
  --sh-accent-hover: #5b21b6;
}

body.has-shared-header {
  padding-top: 96px;
}

#site-header .sh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 12px 0;
}

#site-header .sh-nav.nav-scrolled {
  background: var(--sh-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sh-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

#site-header .sh-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#site-header .sh-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

#site-header .sh-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

#site-header .sh-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  justify-content: center;
}

#site-header .sh-links a {
  color: var(--sh-text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}

#site-header .sh-links a:hover { color: var(--sh-text); }


#site-header .sh-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}


#site-header .sh-nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -10px;
  width: 300px;
  height: 20px;
}


#site-header .sh-nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#site-header .sh-caret {
  font-size: 11px;
  opacity: .8;
}

#site-header .sh-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding-top: 8px;
  background: rgba(10, 5, 20, .98);
  border: 1px solid var(--sh-border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1500;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

#site-header .sh-nav-dropdown-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  font-size: 13px;
}

#site-header .sh-nav-dropdown-menu a:hover {
  background: rgba(109,40,217,.25);
}

#site-header .sh-nav-dropdown:hover .sh-nav-dropdown-menu,
#site-header .sh-nav-dropdown:focus-within .sh-nav-dropdown-menu {
  display: block;
}

#site-header .sh-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#site-header .sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

#site-header .sh-lang-wrap { position: relative; }

#site-header .sh-lang-btn {
  border: 1px solid var(--sh-border);
  background: rgba(255,255,255,.06);
  color: var(--sh-text);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

#site-header .sh-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: rgba(10, 5, 20, .98);
  border: 1px solid var(--sh-border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1500;
}

#site-header .sh-lang-menu.open { display: block; }

#site-header .sh-lang-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  font-size: 13px;
}

#site-header .sh-lang-menu a:hover {
  background: rgba(109,40,217,.25);
}

#site-header .sh-cta {
  color: #fff;
  background: var(--sh-accent);
  border: 1px solid rgba(255,255,255,.15);
}

#site-header .sh-cta:hover { background: var(--sh-accent-hover); }

#site-header .sh-cta.sh-shopify {
  background: #96bf48;
  color: #18230b;
  border-color: #6f902f;
}

#site-header .sh-cta.sh-shopify:hover {
  background: #7aa12f;
  border-color: #6e9129;
}

#site-header .sh-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--sh-border);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

#site-header .sh-mobile-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

#site-header .sh-backdrop,
#site-header .sh-drawer { display: none; }

@media (max-width: 1024px) {
  body.has-shared-header { padding-top: 78px; }

  #site-header .sh-nav {
    background: var(--sh-header-bg);
    border-bottom: 1px solid var(--sh-border);
    padding: 8px 0;
  }

  #site-header .sh-nav-container {
    padding: 0 10px;
    gap: 8px;
  }

  #site-header .sh-logo-img { height: 40px; }
  #site-header .sh-links { display: none; }
  #site-header .sh-lang-wrap { display: none; }
  #site-header .sh-shopify,
  #site-header .sh-cta { height: 36px; font-size: 12px; padding: 0 10px; }
  #site-header .sh-mobile-toggle { display: inline-flex; }

  #site-header .sh-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1490;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  #site-header .sh-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    transform: translateX(102%);
    transition: transform .22s ease;
    background: rgba(12, 8, 28, .98);
    border-left: 1px solid var(--sh-border);
    z-index: 1500;
    padding: 16px;
    overflow-y: auto;
  }

  body.sh-menu-open #site-header .sh-backdrop { opacity: 1; pointer-events: auto; }
  body.sh-menu-open #site-header .sh-drawer { transform: translateX(0); }

  #site-header .sh-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #fff;
  }

  #site-header .sh-drawer-top button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--sh-border);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
  }

  #site-header .sh-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  #site-header .sh-drawer-links a {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
  }

  #site-header .sh-drawer hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.16);
    margin: 14px 0;
  }
}
