/* ==========================================================================
   HEADER.CSS - SITE HEADER & NAVIGATION STYLES
   Project: High Resolution Technologies - E-Commerce Storefront
   ========================================================================== */

/* --- Top Announcement Bar --- */
.announcement-bar {
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 0.45rem var(--space-md);
  letter-spacing: 0.02em;
}

.announcement-bar strong {
  color: #fbbf24;
}

/* --- Sticky Navigation Bar --- */
site-header {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  padding-block: var(--space-xs);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

/* Header Icons (Cart, Wishlist) */
.header-icons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--accent);
}

.icon-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}
