@import url("/landing/public-brand.css?v=20261102-header-space-1");

:root {
  color-scheme: light;
  --site-white: #ffffff;
  --site-ice: #eef7ff;
  --site-navy: #071a33;
  --site-blue: #006dff;
  --site-blue-dark: #062653;
  --site-orange: #ff970f;
  --site-line: #d8e7f6;
  --site-header-bg: rgba(255, 255, 255, 0.96);
  --site-control-bg: #ffffff;
  --site-button-hover: #062653;
  --site-on-accent: #ffffff;
  --site-accent-ink: #071a33;
  --site-header-shadow: 0 8px 26px rgba(7, 26, 51, 0.06);
  --site-menu-shadow: 0 18px 36px rgba(7, 26, 51, 0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --site-white: #101d2d;
  --site-ice: #0d1928;
  --site-navy: #f2f7ff;
  --site-blue: #4f9dff;
  --site-blue-dark: #d9eaff;
  --site-orange: #ffad42;
  --site-line: #2a4059;
  --site-header-bg: rgba(8, 18, 31, 0.96);
  --site-control-bg: #13243a;
  --site-button-hover: #247fe8;
  --site-on-accent: #071a33;
  --site-accent-ink: #071a33;
  --site-header-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  --site-menu-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
}

body [hidden] {
  display: none !important;
}

body .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 96px;
  padding: 7px clamp(26px, 4.5vw, 78px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-header-bg);
  box-shadow: var(--site-header-shadow);
  backdrop-filter: blur(16px);
}

body .site-brand {
  flex: 0 0 auto;
  width: 90px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--site-navy);
  text-decoration: none;
}

body .site-brand img {
  width: auto;
  height: 74px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 13px rgba(7, 26, 51, 0.12));
  transform: none;
}

body .site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--site-navy);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

body .site-nav-primary,
body .site-nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
}

body .site-nav a,
body .site-nav button {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

body .site-nav-primary a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--site-orange);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

body .site-nav-primary a:hover,
body .site-nav-primary a.is-active {
  color: var(--site-blue-dark);
}

body .site-nav-primary a:hover::after,
body .site-nav-primary a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body .site-nav-actions {
  padding-left: clamp(12px, 1.6vw, 22px);
  border-left: 1px solid var(--site-line);
}

body .site-nav .site-cart {
  gap: 7px;
}

body .site-cart-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .site-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body .site-nav .site-login {
  min-height: 44px;
  padding: 0 18px;
  color: var(--site-on-accent);
  background: var(--site-blue);
  box-shadow: 0 10px 24px rgba(0, 109, 255, 0.2);
}

body .site-nav .site-login:hover {
  background: var(--site-button-hover);
}

body .site-nav .site-logout {
  color: var(--site-blue-dark);
}

body .site-nav .auth-greeting {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--site-blue-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body .site-nav .cart-count {
  min-width: 20px;
  height: 20px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--site-accent-ink);
  background: var(--site-orange);
  font-size: 11px;
  font-weight: 900;
}

body .site-header > .brand span {
  display: none;
}

body .site-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-control-bg);
  cursor: pointer;
}

body .site-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--site-navy);
}

body .site-nav .site-theme-toggle {
  min-width: 44px;
  padding: 0 10px;
  gap: 8px;
  border: 1px solid var(--site-line);
  color: var(--site-blue-dark);
  background: var(--site-control-bg);
}

body .site-nav .site-theme-toggle:hover {
  border-color: var(--site-orange);
  color: var(--site-navy);
}

body .site-theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .site-header a:focus-visible,
body .site-header button:focus-visible {
  outline: 3px solid var(--site-blue);
  outline-offset: 3px;
}

body .site-theme-sun {
  display: none;
}

html[data-theme="dark"] body .site-theme-moon {
  display: none;
}

html[data-theme="dark"] body .site-theme-sun {
  display: block;
}

@media (max-width: 1120px) {
  body .site-nav,
  body .site-nav-primary,
  body .site-nav-actions {
    gap: 12px;
  }

  body .site-nav {
    font-size: 13px;
  }

  body .site-nav .site-login {
    padding: 0 14px;
  }
}

@media (max-width: 1280px) {
  body .site-header {
    flex-direction: row;
    min-height: 84px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  body .site-brand {
    width: 70px;
    height: 66px;
  }

  body .site-brand img {
    width: auto;
    height: 60px;
    transform: none;
  }

  body .site-menu-toggle {
    display: inline-flex;
  }

  body .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    display: none;
    align-items: stretch;
    justify-content: stretch;
    padding: 18px;
    border-bottom: 1px solid var(--site-line);
    background: var(--site-control-bg);
    box-shadow: var(--site-menu-shadow);
  }

  body .site-nav.is-open {
    display: grid;
  }

  body .site-nav-primary,
  body .site-nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body .site-nav-actions {
    padding: 14px 0 0;
    border-top: 1px solid var(--site-line);
    border-left: 0;
  }

  body .site-nav a,
  body .site-nav button,
  body .site-nav .auth-greeting {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid var(--site-line);
    background: var(--site-control-bg);
  }

  body .site-nav .site-theme-toggle {
    justify-content: flex-start;
  }

  body .site-theme-text.site-visually-hidden {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  body .site-nav .site-login {
    justify-content: center;
  }

  body .site-nav-primary a::after {
    top: 7px;
    right: auto;
    bottom: 7px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0.35);
  }

  body .site-nav-primary a:hover::after,
  body .site-nav-primary a.is-active::after {
    transform: scaleY(1);
  }
}

@media (max-width: 560px) {
  body .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  body .site-nav-primary,
  body .site-nav-actions {
    grid-template-columns: 1fr;
  }
}
