.ta-global-header-active {
  --ta-header-navy: #07133f;
  --ta-header-yellow: #ffe500;
  --ta-header-white: #fff;
  --ta-header-height: 76px;
  padding-top: var(--ta-header-height) !important;
}

html { scroll-padding-top: 92px; }

body.ta-global-header-active #header,
body.ta-global-header-active .demo_store,
body.ta-global-header-active #ta-main-contact > .site-header {
  display: none !important;
}

body.ta-global-header-active #main {
  margin-top: 0 !important;
}

.ta-site-header,
.ta-site-header * { box-sizing: border-box; }

.ta-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 99990;
  min-height: var(--ta-header-height);
  color: var(--ta-header-white);
  background: rgba(7, 19, 63, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 34px rgba(7, 19, 63, .16);
  backdrop-filter: blur(18px) saturate(130%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ta-site-header a { text-decoration: none !important; }

.ta-site-header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: var(--ta-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ta-site-brand {
  min-width: 292px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ta-header-white) !important;
  white-space: nowrap;
}

.ta-site-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ta-header-white);
}

.ta-site-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.ta-site-brand-copy { display: grid; line-height: 1; }
.ta-site-brand-copy strong {
  color: var(--ta-header-white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.ta-site-brand-copy strong span { color: var(--ta-header-yellow); }
.ta-site-brand-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .62);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ta-site-desktop-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.ta-site-desktop-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: rgba(255, 255, 255, .82) !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.ta-site-desktop-nav a:hover,
.ta-site-desktop-nav a:focus-visible,
.ta-site-desktop-nav a[aria-current="page"] {
  color: var(--ta-header-white) !important;
  background: rgba(255, 255, 255, .1);
}

.ta-site-actions { display: flex; align-items: center; gap: 9px; }
.ta-site-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
  color: var(--ta-header-white) !important;
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.ta-site-button-primary {
  color: var(--ta-header-navy) !important;
  background: var(--ta-header-yellow);
  border-color: var(--ta-header-yellow);
}
.ta-site-button:hover { transform: translateY(-1px); }

.ta-site-account { position: relative; flex: 0 0 auto; }
.ta-site-account-button,
.ta-site-menu-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ta-header-white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  cursor: pointer;
}
.ta-site-account-button { position: relative; }
.ta-site-account-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: var(--ta-header-yellow);
  border: 2px solid var(--ta-header-navy);
  border-radius: 50%;
}
.ta-site-account-button svg { width: 23px; height: 23px; }
.ta-site-account-button img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.ta-site-account-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(370px, calc(100vw - 24px));
  padding: 22px;
  color: var(--ta-header-white);
  background: rgba(7, 19, 63, .99);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(7, 19, 63, .55);
}
.ta-site-account-menu[hidden] { display: none !important; }
.ta-site-account-menu p { margin: 0 0 10px; color: rgba(255,255,255,.72); }
.ta-site-account-menu strong { color: var(--ta-header-white); }
.ta-site-account-kicker { font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ta-site-account-copy { font-size: 14px; }
.ta-site-account-links { display: grid; gap: 3px; margin: 14px 0; }
.ta-site-account-links a {
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 9px 10px;
  color: var(--ta-header-white) !important;
  border-radius: 10px;
}
.ta-site-account-links a:hover { background: rgba(255,255,255,.08); }
.ta-site-account-links small { color: rgba(255,255,255,.58); font-size: 11px; }
.ta-site-account-login { width: 100%; color: var(--ta-header-navy) !important; background: var(--ta-header-yellow); border-color: var(--ta-header-yellow); }
.ta-site-account-join { display: block; padding: 10px; color: var(--ta-header-yellow) !important; text-align: center; font-size: 13px; font-weight: 800; }

.ta-site-compact-action,
.ta-site-menu-button,
.ta-site-mobile-panel { display: none; }
.ta-site-menu-button { position: relative; border-radius: 14px; }
.ta-site-menu-button span,
.ta-site-menu-button::before,
.ta-site-menu-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.ta-site-menu-button span { transform: translate(-50%, -50%); }
.ta-site-menu-button::before { transform: translate(-50%, -7px); }
.ta-site-menu-button::after { transform: translate(-50%, 5px); }
.ta-site-menu-button[aria-expanded="true"] span { opacity: 0; }
.ta-site-menu-button[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.ta-site-menu-button[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ta-site-mobile-panel {
  position: fixed;
  top: var(--ta-header-height);
  left: 0;
  right: 0;
  z-index: 99989;
  max-height: calc(100vh - var(--ta-header-height));
  padding: 18px max(18px, calc((100vw - 1240px) / 2)) 24px;
  overflow-y: auto;
  color: var(--ta-header-white);
  background: rgba(7, 19, 63, .99);
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 70px rgba(7,19,63,.52);
}
.ta-site-mobile-panel[hidden] { display: none !important; }
.ta-site-mobile-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ta-site-mobile-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: rgba(255,255,255,.9) !important;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}
.ta-site-mobile-nav a:hover,
.ta-site-mobile-nav a[aria-current="page"] { color: #fff !important; background: rgba(255,255,255,.12); }
.ta-site-mobile-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

@media (max-width: 1399px) {
  .ta-site-desktop-nav,
  .ta-site-desktop-actions { display: none; }
  .ta-site-brand { margin-right: auto; }
  .ta-site-compact-action,
  .ta-site-menu-button { display: inline-flex; }
  .ta-site-menu-button { display: grid; }
  .ta-site-mobile-panel { display: block; }
}

@media (max-width: 700px) {
  .ta-global-header-active { --ta-header-height: 72px; }
  .ta-site-header-inner { width: calc(100% - 28px); gap: 8px; }
  .ta-site-brand { min-width: 0; }
  .ta-site-brand-copy { display: none; }
  .ta-site-brand-mark { width: 44px; height: 44px; flex-basis: 44px; border-radius: 0; }
  .ta-site-compact-action { padding-inline: 13px; }
  .ta-site-account-button,
  .ta-site-menu-button { width: 44px; height: 44px; }
  .ta-site-mobile-panel { top: var(--ta-header-height); }
  .ta-site-mobile-nav { grid-template-columns: 1fr; }
  .ta-site-mobile-actions .ta-site-button { flex: 1 1 150px; }
}

body.admin-bar .ta-site-header { top: 32px; }
body.admin-bar.ta-global-header-active { padding-top: calc(var(--ta-header-height) + 32px) !important; }
body.admin-bar .ta-site-mobile-panel { top: calc(var(--ta-header-height) + 32px); }

@media (max-width: 782px) {
  body.admin-bar .ta-site-header { top: 46px; }
  body.admin-bar.ta-global-header-active { padding-top: calc(var(--ta-header-height) + 46px) !important; }
  body.admin-bar .ta-site-mobile-panel { top: calc(var(--ta-header-height) + 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .ta-site-header *, .ta-site-header *::before, .ta-site-header *::after { transition: none !important; }
}
