/* ─────────────────────────────────────────
   HEADER — Announcement Bar, Nav, Mobile Menu
───────────────────────────────────────── */

/* ── Announcement Bar ── */
#ann {
  background: #0f0f0f;
  border-bottom: 1px solid var(--border);
  padding: 9px 20px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted2);
}
#ann span { color: rgba(255,255,255,0.55); }
#ann .sep { margin: 0 16px; opacity: 0.3; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
nav.dense { background: rgba(8,8,8,0.92); }

.n-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  background: linear-gradient(145deg, #fff 0%, #b0b0b0 45%, #fff 75%, #909090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.n-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.n-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted2);
  position: relative;
  transition: color 0.2s;
}
.n-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.28s var(--ease);
}
.n-links a:hover { color: #fff; }
.n-links a:hover::after { width: 100%; }

/* ── Cart Button ── */
.n-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

#cart-btn {
  position: relative;
  padding: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease);
}
#cart-btn:hover { transform: scale(1.12); }

#cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--sw);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
#cart-badge.show  { opacity: 1; transform: scale(1); }
#cart-badge.pop   { animation: badge-pop 0.4s var(--ease); }

/* ── Hamburger ── */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.ham span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.ham.x span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.ham.x span:nth-child(2) { opacity: 0; }
.ham.x span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* ── Mobile Menu ── */
.mob-menu {
  position: fixed;
  top: calc(64px + 42px);
  inset-inline: 0;
  bottom: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  transform: translateY(-8px);
  z-index: 999;
}
.mob-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mob-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  color: var(--muted2);
  transition: color 0.2s;
}
.mob-menu a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 700px) {
  #ann { font-size: 0.62rem; letter-spacing: 0.14em; }
  #ann .sep { margin: 0 8px; }
  nav { padding: 0 18px; }
  .n-links { display: none; }
  .ham { display: flex; }
}
