.header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -1px;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.cart-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cart-text {
  font-size: 1rem;
  white-space: nowrap;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--danger-color);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .brand-logo {
    font-size: 1.5rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .cart-image {
    width: 20px;
    height: 20px;
  }

  .cart-text {
    display: none;
  }
}
