/* HEADER */

.lh-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

body.admin-bar .lh-header {
  top: 32px;
}

.lh-header-inner {
  max-width: 1280px;
  height: 70px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.lh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lh-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: 0 0 auto;
}

.lh-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  color: var(--muted-foreground);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.lh-nav a {
  transition: 0.3s;
}

.lh-nav a:hover {
  color: var(--foreground);
}

.lh-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lh-icon-btn,
.lh-cart-btn {
  height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.lh-icon-btn {
  width: 42px;
  font-size: 16px;
}

.lh-cart-btn {
  gap: 10px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.lh-icon-btn:hover,
.lh-cart-btn:hover {
  background: var(--secondary);
}

.lh-cart-count {
  color: var(--accent);
  font-weight: 800;
}

.lh-menu-toggle,
.lh-mobile-menu {
  display: none;
}

/* MOBILE */

@media (max-width: 760px) {
  body.admin-bar .lh-header {
    top: 46px;
  }

  .lh-header-inner {
    height: 64px;
    padding: 0 16px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .lh-logo {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .lh-nav {
    display: none;
  }

  .lh-actions {
    gap: 8px;
  }

  .lh-icon-btn,
  .lh-cart-btn,
  .lh-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .lh-cart-btn {
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .lh-menu-toggle {
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .lh-menu-toggle span {
    width: 16px;
    height: 1px;
    background: var(--foreground);
    display: block;
    transition: 0.25s;
  }

  .lh-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .lh-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .lh-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .lh-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 998;
    background: #050607;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }

  body.admin-bar .lh-mobile-menu {
    top: 110px;
  }

  .lh-mobile-menu.is-open {
    display: grid;
    gap: 14px;
  }

  .lh-mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid #171c22;
    color: var(--foreground);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
  }
}
/* HEADER FIX — HIDE MOBILE MENU ON DESKTOP */

.lh-mobile-menu,
.lh-menu-toggle {
  display: none !important;
}

@media (max-width: 760px) {
  .lh-menu-toggle {
    display: flex !important;
  }

  .lh-mobile-menu {
    display: none !important;
  }

  .lh-mobile-menu.is-open {
    display: grid !important;
  }
}