/* Updated header styles */
.site-header {
  width: 100%;
  background: rgba(10,10,13,.8);
}

.container.hdr {
  width: min(2065px, 95%); /* 1.75x the original 1180px */
  margin: 0 auto;
  padding: 20px 24px; /* Added more vertical padding */
  max-width: none !important; /* Force override any other styles */
}

.brand img {
  height: 90px; /* Much larger */
  width: auto;
  vertical-align: middle;
  margin-right: 18px;
  border-radius: 0; /* Removed for transparent PNG */
}

/* New navigation styles */
.nav {
  display: flex;
  align-items: center;
  gap: 24px; /* Consistent spacing */
}

.nav-left {
  margin-right: auto;
  display: flex;
  gap: 14px; /* Closer to logo */
  margin-right: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px; /* Much tighter */
}

.nav-icon {
  width: 40px; /* Much larger */
  height: 40px; /* Much larger */
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-icon:hover {
  opacity: 1;
}

/* Remove old nav link styles that conflict */
.nav a {
  color: var(--muted);
  margin-left: 0; /* Remove old margin */
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(255,255,255,.05);
  color: var(--ink);
  text-decoration: none;
}

/* Cart badge styling */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #0b5ed7;
  color: #111;
  font-weight: 900;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Mobile menu button */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.mobile-menu-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: rgba(10,10,13,.95);
  backdrop-filter: blur(10px);
  padding: 80px 20px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav .nav-left {
  flex-direction: column;
  margin: 0;
  gap: 20px;
}

.mobile-nav a {
  font-size: 1.2em;
  padding: 12px 16px;
  display: block;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .container.hdr {
    padding: 12px 16px;
  }

  .brand img {
    height: 60px;
  }

  .nav-left {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .nav-right {
    margin-left: auto;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
  }
}

/* Dark overlay for mobile menu */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  display: block;
}