/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 150px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav ul {
  display: flex;
  gap: 32px;
}

.nav ul li a {
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav ul li a.active:after,
.nav ul li a:hover:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--teal);
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.nav ul li a:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--teal);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cart {
  position: relative;
}

.cart-icon {
  cursor: pointer;
  transition: var(--transition);
}

.cart-icon:hover {
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-text);
  border-radius: 3px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .logo-image {
    height: 100px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    padding: 60px 24px;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 101;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}