/* E RIDER — shared sticky nav chrome (works on light product pages) */

.site-chrome {
  --chrome-bg: rgba(10, 10, 10, 0.95);
  --chrome-text: #e8e8e8;
  --chrome-muted: #a0a0a0;
  --chrome-yellow: #fecb00;
  --chrome-border: rgba(254, 203, 0, 0.25);
  --chrome-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --chrome-h: 80px;

  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--chrome-h);
  height: auto;
  padding-block: 0.4rem;
  display: flex;
  align-items: center;
  background: var(--chrome-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--chrome-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.site-chrome .nav {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.site-chrome .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-yellow);
  text-decoration: none;
  z-index: 210;
  line-height: 1.15;
  flex-shrink: 1;
  min-width: 0;
}

.site-chrome .nav-brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.site-chrome .nav-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  max-width: 24rem;
  text-transform: none;
  letter-spacing: normal;
}

.site-chrome .nav-brand-name {
  display: block;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: none;
  color: var(--chrome-yellow);
}

.site-chrome .brand-e {
  position: relative;
  display: inline-block;
  font-size: 1.22em;
  font-weight: 900;
  line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 0%, #00f0ff 30%, #39ff14 68%, #00e5ff 100%);
  background-size: 100% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 5px #00f0ff)
    drop-shadow(0 0 12px rgba(57, 255, 20, 0.45));
  animation: brand-e-surge 1.05s linear infinite, brand-e-flicker 2.6s infinite;
}

.site-chrome .brand-e::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 20%;
  top: 10%;
  bottom: 8%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Cpath fill='%23ffffff' stroke='%2300f0ff' stroke-width='1.4' d='M13.8 1.2 L4.6 19.8 h7.4 L6.6 38.8 20.6 18.6 h-7.2 L18.6 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: brand-e-bolt 1.1s ease-in-out infinite;
}

.site-chrome .nav-brand-div,
.site-chrome .nav-brand-line {
  display: block;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  color: var(--chrome-muted);
  white-space: nowrap;
}

.site-chrome .nav-brand-line {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.site-chrome .nav-brand-div {
  font-size: 0.88rem;
  letter-spacing: 0.015em;
}

.site-chrome .nav-brand:hover {
  color: #fff3a8;
}

.site-chrome .nav-brand:hover .nav-brand-name {
  color: #fff3a8;
}

.site-chrome .nav-brand:hover .brand-e {
  filter:
    drop-shadow(0 0 7px #00f0ff)
    drop-shadow(0 0 16px rgba(57, 255, 20, 0.55));
}

.site-chrome .nav-brand:hover .nav-brand-div,
.site-chrome .nav-brand:hover .nav-brand-line {
  color: rgba(255, 243, 168, 0.75);
}

.site-chrome .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  flex-wrap: nowrap;
}

.site-chrome .nav-links a {
  font-family: var(--chrome-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-chrome .nav-links a:hover,
.site-chrome .nav-links a.nav-active {
  color: var(--chrome-yellow);
}

.site-chrome .nav-item.has-menu {
  position: relative;
}

.site-chrome .nav-menu-btn {
  font-family: var(--chrome-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  white-space: nowrap;
  background: none;
  border: none;
}

.site-chrome .nav-menu-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.site-chrome .nav-item.has-menu:hover .nav-menu-btn,
.site-chrome .nav-item.has-menu.open .nav-menu-btn,
.site-chrome .nav-menu-btn.nav-active,
.site-chrome .nav-menu-btn:hover {
  color: var(--chrome-yellow);
}

.site-chrome .nav-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 11.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #111;
  border: 1px solid rgba(254, 203, 0, 0.28);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 240;
}

.site-chrome .nav-item.has-menu:hover .nav-submenu,
.site-chrome .nav-item.has-menu.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-chrome .nav-submenu a {
  display: flex;
  width: 100%;
  padding: 0.7rem 1rem;
  box-sizing: border-box;
}

.site-chrome .nav-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 210;
}

.site-chrome .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 203, 0, 0.45);
  color: var(--chrome-yellow) !important;
  background: rgba(254, 203, 0, 0.1);
  font-family: var(--chrome-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 220;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.site-chrome .nav-cta:hover {
  background: rgba(254, 203, 0, 0.22) !important;
  color: #fff3a8 !important;
  box-shadow: 0 0 16px rgba(254, 203, 0, 0.25);
}

.site-chrome .nav-cta-email {
  letter-spacing: 0.01em;
}

.site-chrome .nav-cta-short {
  display: none;
}

/* Cart button on light Bonnell chrome */
.site-chrome .kw-nav-cart {
  color: var(--chrome-yellow);
  background: rgba(254, 203, 0, 0.1);
  border: 1px solid rgba(254, 203, 0, 0.4);
}

.site-chrome .kw-badge {
  background: #00f0ff;
  color: #021018;
}

.site-chrome .nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 210;
  border: none;
  background: none;
  padding: 0;
  flex-shrink: 0;
}

.site-chrome .nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--chrome-yellow);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 960px) {
  .site-chrome {
    --chrome-h: 64px;
  }

  .site-chrome .nav {
    width: min(1180px, calc(100% - 1.15rem));
    gap: 0.45rem;
  }

  .site-chrome .nav-brand-logo {
    width: 48px;
    height: 48px;
  }

  .site-chrome .nav-brand-text {
    max-width: 16rem;
    gap: 0.08rem;
  }

  .site-chrome .nav-brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .site-chrome .nav-brand-line {
    font-size: 0.52rem;
  }

  .site-chrome .nav-brand-div {
    font-size: 0.74rem;
  }

  .site-chrome .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    z-index: 220;
  }

  .site-chrome .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0;
    padding: max(5rem, env(safe-area-inset-top, 0px)) 1.5rem max(2rem, env(safe-area-inset-bottom, 0px));
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 205;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-chrome .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .site-chrome .nav-links a {
    font-size: 1.05rem;
    padding: 0.85rem 1.25rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .site-chrome .nav-item.has-menu {
    width: min(18rem, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-chrome .nav-menu-btn {
    font-size: 1.05rem;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
  }

  .site-chrome .nav-submenu {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0 0 0.4rem;
  }

  .site-chrome .nav-item.has-menu.open .nav-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-chrome .nav-item.has-menu:hover .nav-submenu {
    display: none;
  }

  .site-chrome .nav-item.has-menu.open .nav-submenu {
    display: flex;
  }

  .site-chrome .nav-end {
    margin-left: auto;
    gap: 0.4rem;
  }

  .site-chrome .nav-cta {
    font-size: 0.68rem;
    padding: 0.5rem 0.65rem;
    letter-spacing: 0.02em;
    min-height: 44px;
  }

  .site-chrome .nav-cta-full {
    display: none;
  }

  .site-chrome .nav-cta-short {
    display: inline;
  }

  .site-chrome .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .site-chrome .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .site-chrome .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 400px) {
  .site-chrome .nav-brand-text {
    max-width: 13rem;
  }

  .site-chrome .nav-brand-name {
    font-size: 0.82rem;
  }

  .site-chrome .nav-brand-line {
    font-size: 0.48rem;
  }

  .site-chrome .nav-brand-div {
    font-size: 0.68rem;
  }

  .site-chrome .nav-cta {
    font-size: 0.62rem;
    padding: 0.45rem 0.5rem;
  }
}
