header {
  position: fixed;
  width: 100%;
  height: 88px;
  top: 0;
  left: 0;
  z-index: 10;
  /* padding: 0 10px; */
  background-color: #161616ab;
}

.navbar {
  display: flex;
  padding: 22px 10px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.navbar .hamburger-btn {
  display: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
}

.navbar .logo {
  gap: 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar .logo img {
  width: 40px;
  /* border-radius: 50%; */
}

.navbar .logo h2 {
  color: #fff;
  font-weight: 600;
  font-size: 1.7rem;
}

.navbar .links {
  display: flex;
  gap: 60px;
  list-style: none;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0;
}

.navbar .close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  display: none;
  color: #000;
  cursor: pointer;
}

.navbar .links a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.1s ease;
}

.navbar .links li i {
  display: none ;
}

.navbar .links a:hover {
  color: #ffd900;
}

.navbar .login-btn {
  border: none;
  outline: none;
  background: #fff;
  color: #275360;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.15s ease;
}

.navbar .login-btn:hover {
  background: #ddd;
}
.ul-close-menu {
  display: none;
}

.hide {
  display: none;
}

@media (max-width: 1024px) {
  .hide {
    display: inherit;
  }
  .navbar :is(.hamburger-btn, .close-btn) {
    display: block;
    position: absolute;
  }

  .navbar {
    padding: 15px 10px;
  }

  .navbar .logo img {
    display: none;
  }

  .navbar .logo h2 {
    font-size: 1.4rem;
  }

  .navbar .links {
    position: fixed;
    top: 0;
    z-index: 10;
    left: -100%;
    display: block;
    height: 100vh;
    width: 50%;
    padding-top: 60px;
    padding-left: 20px;
    text-align: start;
    background: #fff;
    transition: 0.2s ease;
    z-index: 12;
  }

  .navbar .links.show-menu {
    left: 0;
  }

  .ul-close-menu.show-menu {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 11;
    background-color: #0000007e;
    display: block;
  }

  .navbar .links a {
    display: inline-flex;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #5e5e5e;
  }

  .navbar .links li {
    display: flex;
  }

  .navbar .links li i {
      display: flex;
    margin: 0 20px 0 0;
    align-items: center;
  }

  .navbar .links a:hover {
    color: #00bcd4;
  }

  .navbar .login-btn {
    font-size: 0.9rem;
    padding: 7px 10px;
    display: none !important;
  }

  .navbar .logo {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .navbar .links {
    width: 80%;
  }
}


.navbar.user {
  position: relative;
  height: 60px;
  padding: 0 10px;
  max-width: 100%;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  /* z-index: 13; */
}

.navbar.user h2 {
  margin-bottom: 0;

}


.navbar.user .links li {
  width: 100%;
  display: flex;
  height: 70px;
  transition: all .2s ease-in-out;
}
.navbar.user .links.show-menu li{ 
  width: 93%;
}
.navbar.user .links li:hover {
  transition: all .2s ease-in-out;
  margin: 0 10px 0 10px;
  background-color: #12a0ff;
  border-radius: 6px;
  color: #fff;
}

.navbar.user .hamburger-btn {
  position: absolute;
  left: 300px;
  display: block;
  color: #3d3d3d;
}

.navbar.user .logo h2 {
  color: #3d3d3d;
}


.navbar.user .links {
  position: fixed;
  top: 0;
  z-index: 10;
  left: 0;
  display: block;
  height: 100vh;
  width: 80px;
  padding-top: 75px;
  text-align: start;
  background: #ffffff;
  z-index: -2;
  overflow: hidden;
  transition: all .07s linear;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.navbar.user .links.show-menu {
  width: 300px;
  transition: all .07s linear;
}

.navbar.user .ul-close-menu.show-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -2;
  background-color: #00000000;
  display: block;
}

.navbar.user .links a {
  display: none;
  color: #616161;
}
.navbar.user .links li:hover a ,
  .navbar.user .links li:hover i{
  color: #ffffff;
}

.navbar.user .links.show-menu a{
  display: flex;
  align-items: center;
} 
.navbar.user .links li.hide{
  display: none;
}

.navbar.user .links li i {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  color: #3a3a3a;
}

.profile-btn {
  width: 180px;
  display: initial;
}

.profile-btn .main-profile {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: .9rem;
  color: #fff;
}

.main-profile .img-name {
  width: 100%;
  display: grid;
  grid-template-columns: 15% 85%;
  /* border-bottom: 1px solid #fff; */
}

.img-name .this-img {
  width: 100%;
  height: 100%;
}

.this-img img {
  max-width: 100%;
  /* height: 100%; */
  border-radius: 50%;
}

.this-name {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 10px;
}

.this-name .name {
  text-overflow: ellipsis;
}

.main-profile .btn-edit-checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 0 0 10px;
  font-size: .8rem;
}

.btn-edit-checkout a{
  text-decoration: none;
  color: #77b2ff;
}
@media (max-width: 1024px) {
  header {
    height: 65px;
  }
  .profile-btn {
    display: none;
  }
}

@media (max-width: 950px) {
  .navbar.user .links li{
    display: flex;
  }
  
  .navbar.user .hamburger-btn {
    font-size: 2rem;
    left: 20px;
}

.navbar.user .links {
  width: 0px;
  padding-left: 0;
}
.navbar.user .links.show-menu { 
  padding: 60px 0 0 20px;

}
.navbar.user .links.show-menu li.hide{
  display: flex;
  align-items:center;
}

.navbar.user .links.show-menu a { 
  color: #3f3f3f;
}

.navbar.user .links.show-menu li i {
  width: 50px;
}
}