@import "../theme_fonts/fonts.css";
@import "../theme_fonts/theme.css";
#nav0 {
  background-image: url(https://static.vecteezy.com/system/resources/previews/001/410/432/original/pink-fluid-dynamic-abstract-background-free-vector.jpg);
  height: 3rem;
  margin-left: -0.6rem;
}
.nav-header {
  width: 100%;
  height: 7rem;
  background-color: transparent;
  align-items: center;
  position: fixed;
  top: 5px;
  z-index: 10;
  /* border-bottom: 0.1px solid rgb(177, 175, 175); */
}
#white-sides {
  width: 100%;
  height: 62px;
  position: fixed;
  top: 0;
  z-index: -1;
  background-color: var(--primary-background);
}
.cartItemNumText {
  position: absolute;
  top: 4px;
  right: 8px;
  margin: 0;
  border-radius: 50%;
  background-color: var(--btn-pink);
  color: white;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

/* In dark mode, use black text inside the purple cart badge for better contrast */
.dark-mode .cartItemNumText {
  color: #000000;
}
/* #nav1 ul,
#nav2 ul {
    width: 45%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 6rem;
} */

#nav1 {
  display: flex;
  width: 80%;
  min-height: 62px;
  height: auto;
  padding: 8px 3% 8px 0;
  background-color: var(--primary-background);
  margin: auto;
  align-items: center;
}
#nav1 > ul {
  display: flex;
  padding: 0;
  margin: 0;
  width: 100%;
  align-items: center;
}

#nav1 > ul:first-child > li > img,
#nav1 > ul:first-child > li > a > img {
  width: auto;
  max-height: 60px;
  min-height: 40px;
  max-width: 220px;
  object-fit: contain;
  cursor: pointer;
}

#nav1 li a,
#nav2 li a {
  text-decoration: none;
  color: var(--nav-a);
}

#nav1 li,
#nav2 li {
  display: block;
  margin: auto;
}
#nav1 li > a:hover,
#nav2 li > a:hover {
  color: var(--btn-pink);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 3%;
  position: relative;
}

.search .cartIcon-click {
  position: relative;
}

.search .cartIcon-click .cartItemNumText {
  top: -6px;
  right: -8px;
}

.search .toggle-dark {
  margin-left: 5px;
}

.search .toggle-dark:hover {
  background-color: rgba(100, 44, 169, 0.1) !important;
  transform: scale(1.05);
}

.search > button {
  height: 41px;
  border: none;
  background-color: var(--search-background);
  width: 44px;
}

.search > input[type="text"] {
  height: 39px;
  background-color: var(--search-input);
  border: none;
}

.search > .sign {
  background-color: var(--btn-pink);
  border: none;
  margin-left: 1rem;
  color: #ffffff;
  height: 60%;
  border-radius: 0.313rem;
  padding: 0.5rem 0.875rem;
  width: 80px;
  display: none;
}

.search > span {
  margin-left: 4rem;
  margin-right: 10px;
  color: var(--btn-pink);
}

.nav-header > #nav2 {
  display: flex;
  border-bottom: 0.1px solid var(--nav-header-nav-border);
  background-color: var(--primary-background);
  margin-top: -0.13rem;
  position: relative;
  padding-top: 6px;
  height: 43px;
  box-sizing: border-box;
  border-top: 1px solid var(--nav-header-bottom-border);
  transition: transform 6s;
  box-shadow: var(--nav-box-shadow) 0px 2px 2px;
}
#nav2.sticky {
  margin-top: -150px;
  background-color: var(--primary-background);
  z-index: -1;
  transition: transform 6s;
}
#nav2 {
  display: flex;
  width: 100%;
  margin: auto;
}
#nav2 > ul {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  gap: 10px;
}
.iconNav {
  display: none !important;
  margin: 0 auto;
  min-height: 60px;
  height: auto;
  padding: 15px 40px;
  gap: 0;
  align-items: center;
}

.iconNav li img {
  max-height: 50px;
  min-height: 35px;
  width: auto;
  object-fit: contain;
}
#nav2 img {
  width: 82px;
  position: relative;
}

#nav2 ul > li > a {
  text-decoration: none;
  color: var(--nav2-a);
}
#nav1 ul li a img {
  width: auto;
  max-height: 50px;
}

.search-icon {
  font-size: 1.3rem;
  font-weight: 400;
}

.dropdown {
  width: 170px;
}

.nav-bar-signupbtn {
  background-color: var(--btn-pink) !important;
  width: 120px !important;
  margin-right: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--primary-background);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.dropbtn {
  display: flex;
  width: 170px;
  height: 30px;
  align-items: center;
}

.dropbtn > img {
  position: relative;
  /* top: 4px; */
}
.dropbtn span {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--primary-background-black);
}

/* .dropbtn > img {
  width: 100%;
} */

.search > input[type="text"] {
  margin-right: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dropdown-background);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px var(--dropdown-dropdown);
  z-index: 1;
}

.dropdown-content a {
  color: var(--primary-background-black);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--dropdown-gray);
  color: var(--btn-pink);
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 1200px) {
  #nav1 li,
  #nav2 li {
    display: block;
    margin: auto;
    margin-left: 16px;
    font-size: 11px;
  }
}

@media screen and (max-width: 1080px) {
  #nav2,
  .fullNav,
  .search {
    display: none !important;
  }
  .iconNav {
    display: flex !important;
  }
  .dropbtn {
    margin-right: 100px;
    margin-top: 45px;
  }
  .iconNav {
    padding-left: 100px;
  }
  #nav1 > ul {
    padding: 0 0 0 0px;
    width: 120%;
    margin-right: -17px;
  }
  #nav1 > ul > li:first-child {
    margin-right: 18px;
  }
}

@media screen and (max-width: 768px) {
  #nav2,
  .fullNav,
  .search {
    display: none !important;
  }
  
  #nav0 {
    display: none;
  }
  
  #white-sides {
    height: 60px;
  }
  
  #nav1 {
    width: 100% !important;
    padding: 10px 15px !important;
    min-height: 60px;
    box-sizing: border-box;
  }
  
  #nav1 > ul:first-child {
    display: none !important;
  }
  
  .iconNav {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    margin: 0;
    min-height: auto;
  }
  
  .iconNav .small-home1 {
    margin: 0;
  }
  
  .iconNav .small-home1 img {
    max-height: 38px !important;
    min-height: 30px !important;
    width: auto;
  }
  
  .mobile-nav-right {
    display: flex !important;
    align-items: center;
    gap: 18px;
    margin-left: auto;
  }
  
  .mobile-nav-right i {
    font-size: 20px;
    color: var(--primary-text-black);
    cursor: pointer;
  }
  
  .mobile-nav-right button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  .mobile-nav-right a {
    display: flex;
    align-items: center;
  }

  .mobile-nav-right .cartIcon-click {
    position: relative;
  }

  .mobile-nav-right .cartIcon-click .cartItemNumText {
    top: -4px;
    right: -4px;
  }
  
  .nav-header {
    height: auto;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
  .dropdown,
  .dropbtn {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  #nav1 {
    padding: 8px 12px !important;
    min-height: 55px;
  }
  
  .iconNav .small-home1 img {
    max-height: 32px !important;
  }
  
  .mobile-nav-right {
    gap: 14px;
  }
  
  .mobile-nav-right i {
    font-size: 18px;
  }
}
