/* =============================================
   NEVA Creative Arts Co. — Navigation
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

/* ── Logo ─────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

/* ── Desktop nav links ────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: #F3EDF8;
  color: var(--color-primary);
}

/* ── Right-side actions ───────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 6px;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color .15s;
}

.nav-cart-btn:hover { color: var(--color-primary); }

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-secondary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(30%, -30%);
}

.cart-badge.hidden { display: none; }

/* ── Hamburger (mobile) ───────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Mobile nav ───────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 2px;
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 14px;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: none;
    min-width: 0;
  }
}

/* Account dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  min-width: 180px;
  padding: 6px 0;
  z-index: 100;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: .9rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: #F3EDF8;
  color: var(--color-primary);
}
