body.show {
  opacity: 1 !important;
}
.header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  border-bottom: 1px solid rgba(30, 30, 30, 0.1);
}
.header > div:first-of-type {
  padding: 8px 3%;
  color: var(--white);
  background-color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header > div:first-of-type > div:first-of-type {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header > div:first-of-type > div:first-of-type > a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header > div:first-of-type > div:first-of-type > a > svg {
  width: 12px;
  height: 12px;
}
.header > div:first-of-type > div:first-of-type > a:nth-of-type(2) > svg {
  width: 13px;
  height: 13px;
}
.header > div:first-of-type > p {
  font-size: 0.7rem;
}
.header > div:first-of-type > div:last-of-type {
  font-size: 0.7rem;
  cursor: pointer;
}
.header > nav {
  background-color: var(--white);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 3%;
  gap: 1rem;
}
.header > nav > div:first-of-type {
  overflow: auto clip;
  width: 100%;
  max-width: 420px;
}
.header > nav > div:first-of-type::-webkit-scrollbar {
  height: 5px;
}
.header > nav > div:first-of-type::-webkit-scrollbar-thumb {
  background: #1e1e1e1a;
  border-radius: 1rem;
  cursor: pointer;
}
.header > nav > div:first-of-type > div {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.header > nav > div:first-of-type > div > a {
  color: var(--black);
  font-size: 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.header > nav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.header > nav > aside {
  background-color: var(--white);
  color: var(--black);
  width: 420px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 1.2rem;
}
.header > nav > aside > a,
.header > nav > aside > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  background-color: var(--white);
  border: none;
  color: var(--black);
}
.header > nav > aside > button > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header > nav > aside > a:first-of-type {
  gap: 3px;
  position: relative;
}
.header > nav > aside > a:first-of-type > span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header > nav > aside > a:first-of-type > span > svg {
  width: 23px;
  height: 23px;
}
.header > nav > aside > a:first-of-type > span:nth-of-type(2) {
  width: 23px;
  height: 23px;
  background-color: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.6rem;
  transform: scale(0.7);
  position: absolute;
  right: -0.5rem;
  top: -0.3rem;
}
.header > nav > aside > a:nth-of-type(2) > span:nth-of-type(2),
header > nav > aside > button > span:nth-of-type(2) {
  color: var(--black);
}
.header > nav > aside > div {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.header > nav > aside > div > button {
  background-color: transparent;
  border: none;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.header > nav > aside > div > div {
  display: none;
}
.header > nav > aside > div > div.active {
  display: flex;
  position: absolute;
  background-color: var(--white);
  top: 45px;
  padding: 5px 10px;
  border-radius: 3px;
  width: 250px;
  border: 1px solid var(--border-1);
  right: 0;
}
.header > nav > aside > div > div > ul {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  width: 100%;
  list-style-type: none;
}
.header > nav > aside > div > div > ul > li {
  width: 100%;
}
.header > nav > aside > div > div > ul > li:not(:last-child) {
  border-bottom: 1px solid rgba(217, 217, 217, 1);
}
.header > nav > aside > div > div > ul > li > * {
  background-color: transparent;
  color: var(--black);
  border: none;
  font-size: 0.7rem;
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.6rem;
}
.header > nav > aside > div > div > ul > li > * > svg:last-of-type {
  margin-left: auto;
}
.static-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
  background-color: transparent !important;
  box-shadow: none !important;
  position: fixed;
  right: 20px;
  bottom: 20px;
}
.static-whatsapp > img:first-of-type {
  display: none;
}
@media screen and (width > 899px) {
  .header {
    top: -35px;
  }
}
@media screen and (width <= 899px) {
  .header {
    top: 0;
  }
  .header > div:first-of-type {
    justify-content: center;
  }
  .header > div:first-of-type > div:first-of-type,
  .header > div:first-of-type > div:last-of-type {
    display: none;
  }
  .header > div:first-of-type > p {
    font-size: 0.6rem;
  }
  .header > nav {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 12px 3%;
  }
  .header > nav > div:first-of-type {
    padding-bottom: 10px;
  }
  .header > nav > div:first-of-type > div {
    gap: 20px;
    justify-content: space-between;
  }
  .header > nav > aside {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    border-top: 1px solid rgba(30, 30, 30, 0.1);
    z-index: 4;
    padding: 0 10px;
    flex-direction: row;
  }
  .header > nav > aside > a,
  .header > nav > aside > div {
    width: 60px;
    height: 45px;
  }
  .header > nav > aside > a.cart-link {
    order: 4 !important;
  }
  .header > nav > aside > a:first-of-type > span:nth-of-type(2) {
    width: 23px;
    height: 23px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.6rem;
    transform: scale(0.7);
    position: absolute;
    right: 0.5rem;
    top: 0.3rem;
  }
  .header > nav > aside > a.track-order,
  .header > nav > aside > button.track-order {
    order: 3 !important;
  }
  .header > nav > aside > div.user-div {
    order: 1 !important;
  }
  .header > nav > aside > a:nth-of-type(3) {
    order: 4;
    margin-right: 10px;
  }
  .header > nav > aside > a.track-order > span:nth-of-type(2),
  .header > nav > aside > button.track-order > span:nth-of-type(2) {
    display: none;
  }
  .header > nav > aside > div > div.active {
    display: flex;
    position: fixed;
    background-color: var(--white);
    padding: 5px 18px;
    border-radius: 0;
    width: 100%;
    border-top: none;
    right: unset;
    left: 0;
    top: 0;
    z-index: 3;
    height: calc(100% - 45px);
  }
  .header > nav > aside > div > div > ul > li:not(:last-child) {
    border-bottom: none;
  }
  .header > nav > aside > div:has(> div.active) > button:before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--black);
    position: absolute;
    top: 0;
    left: 0;
  }
  .static-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    max-width: 30px;
    height: 30px;
    max-height: 30px;
    border-radius: 50%;
    box-shadow: unset !important;
    position: relative;
    right: unset;
    bottom: unset;
    order: 2 !important;
  }
  .static-whatsapp > img {
    width: 25px;
    height: 25px;
  }
  .static-whatsapp > img:first-of-type {
    display: inline-block;
  }
  .static-whatsapp > img:nth-of-type(2) {
    display: none;
  }
}
@media screen and (width <= 410px) {
  .header > nav {
    align-items: flex-start;
  }
  .header > nav > a {
    align-self: center;
  }
  .header > nav > div:first-of-type {
    overflow: scroll clip;
  }
}
