@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');


body{
  font-family: "Libre Franklin";
}


.header {
  display: flex;
  flex-direction: column;
  background: white;
  border-bottom: 1px solid #e9e9e9;
  padding: 15px 50px;
}

.header .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.header .logo img {
  height: 50px;
}

.header .menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.header .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: center;
  flex-grow: 1;
}

.header .nav-links li {
  margin: 0 20px;
}

.header .nav-links a {

  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  color: #505050;
}

.header .bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.header .search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.header .category-select {
  border: 1px solid #ccc;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 5px;
}

.header .search-container {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #ccc;
  padding: 8px 20px;
  max-width: 500px;
  background: white;
  border-radius: 5px;
  justify-content: center;
}

.header .search-bar {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .search-bar input {
  border: none;
  outline: none;
  width: 100%;
  padding: 5px;
  font-size: 14px;
}

.header .search-bar i {
  color: #888;
  cursor: pointer;
}

.header .country-select {
  border: none;
  background: transparent;
  /* font-size: 14px; */
  padding-left: 25px;
  border-left: 1px solid #dadada;
  margin-left: 5px;
}

.header .icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header .icons img {
  font-size: 18px;
  cursor: pointer;
}

.header .profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .header {
    padding: 15px 20px;
  }

  .header .top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

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

  .header .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    justify-content: flex-start;
    gap: 20px;
  }

  .header .nav-links.active {
    display: flex;
  }

  .header .nav-links .close-btn {
    font-size: 24px;
    cursor: pointer;
    text-align: right;
    padding-bottom: 10px;
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    margin-bottom: 20px;
  }

  .header .bottom-row {
    flex-direction: column;
    align-items: center;
  }

  .header .search-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .header .search-container {
    width: 100%;
    max-width: 100%;
  }

  .header .icons {
    justify-content: flex-end;
    width: 100%;
  }
  .header .icons {
    display: none;
  font-size: 24px;
  cursor: pointer;
  }
  .header .category-select {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
}

@media (min-width: 1025px) {
  .header .nav-links .close-btn {
    display: none;
  }
}
