.website-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}

.container.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 16px 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: black;
  letter-spacing: 3px;
}

.navbar {
  display: flex;
  gap: 18px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: dimgray;
   transition: all 0.3s ease;
}

.navbar a.active {
  color: black;
  font-weight: 700;
}

.navbar a:hover {
  color: black;
  transition: color 0.3s ease;
}

  .cart-link {
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    text-decoration: none;
  }

  .cart-link::before {  
    content: "🛒";
    font-size: 22px;
    line-height: 1;
  }

  .cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

.search-form {
  display: flex;
  gap: 8px;
}

.search-input {
  width: 220px;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  font-size: 14px;
}

.search-button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

@media (max-width: 768px) {
  .container.nav {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  

  .menu-toggle {
    display: block;
    order: 1;
  }

  .logo {
    order: 2;
      position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 20px;
  letter-spacing: 2px;
  }

  .header-tools {
    order: 3;
    margin-left: 0;
  }

  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ebebeb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    z-index: 999;
  }

  .navbar.show {
    display: flex;
  }

  .navbar a {
    width: 100%;
    padding: 12px 20px;
  }

  .search-form {
    display: none;
  }
}