.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 800;
  box-shadow: 0 1px 12px rgba(13,15,20,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font); font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.logo-tagline { font-size: 10px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; }

/* ── DESKTOP NAV ── */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text-mid); transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--surface); }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--text-mid); border-radius: 8px; transition: all var(--transition); }
.dropdown-menu a:hover { background: var(--surface); color: var(--teal); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ── HEADER ACTIONS ── */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: all var(--transition);
  position: relative; cursor: pointer; background: none; border: none;
  text-decoration: none;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--teal); color: var(--ink);
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.header-user-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 2px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: all var(--transition); cursor: pointer;
  font-family: var(--font-body); white-space: nowrap;
}
.header-user-btn:hover { border-color: var(--teal); color: var(--teal); }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE NAV ── */
.mobile-nav { display: none; padding: 12px 20px 20px; border-top: 1px solid var(--border); background: var(--white); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; font-size: 15px; font-weight: 600; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-sub { padding-left: 16px; background: var(--surface); border-radius: var(--radius-sm); margin: 4px 0; }
.mobile-sub a { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--border-dark); }
.mobile-sub a:last-child { border-bottom: none; }

/* Mobile nav action buttons */
.mobile-nav-actions { display: flex; gap: 10px; padding: 16px 0 0; flex-wrap: wrap; }
.mobile-nav-actions .btn { flex: 1; min-width: 120px; justify-content: center; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════════════════ */
@media (max-width:900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* Hide text labels on icon buttons, keep icons */
  .header-user-btn .user-label { display: none; }
  .header-user-btn { padding: 8px 12px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════ */
@media (max-width:600px) {
  .header-inner { padding: 0 16px; height: 60px; gap: 10px; }
  .logo-tagline { display: none; }
  .logo-name { font-size: 0.95rem; }
  .logo-svg { width: 34px; height: 34px; }

  /* Collapse action area on very small screens */
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }

  /* Hide signup/login button text on small screens */
  .show-if-guest .btn-sm { padding: 7px 12px; font-size: 12px; }

  /* Mobile nav */
  .mobile-nav { padding: 10px 16px 18px; }
  .mobile-nav a { padding: 12px 0; font-size: 14px; }
}