.site-header {
  box-sizing: content-box;
  display: block;
  width: auto;
  padding: 0;
  color: rgba(var(--color-text));
  background-color: #fff;
  border-bottom: 1px solid rgb(226, 222, 215);
}

a.site-header__link:hover,
a.site-header__link.is-active {
  background: rgb(20, 20, 20);
  color: #fff !important;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  justify-content: space-between;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo img {
  display: block;
  width: 50px;
  height: 30px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
}

.site-header__link {
  display: block;
  padding: 8px 14px;
  border-radius: 22px;
  font-family: Archivo, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.35s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header__link:hover,
.site-header__link.is-active {
  background: rgb(20, 20, 20);
  color: rgb(255, 255, 255);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.site-header__account,
.site-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header__account-icon,
.site-header__cart-icon {
  flex: 0 0 auto;
}

.site-header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 99px;
  background: rgb(226, 249, 161);
  color: rgb(0, 0, 0);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 17px;
}

.site-header__cart-count[hidden] {
  display: none;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 22px;
  line-height: 22px;
  color: rgb(0, 0, 0);
  cursor: pointer;
  background: transparent;
  border: 0;
}

@media (max-width: 959px) {
  .site-header__inner {
    padding: 0 24px;
    gap: 16px;
    justify-content: flex-start;
  }
  .site-header__logo {
    order: 0;
    margin-inline: 0;
    margin-right: auto;
  }
  .site-header__actions {
    order: 1;
  }
  .site-header__burger {
    display: flex;
    order: 2;
  }
  .site-header__account span {
    display: none;
  }
  .site-header__nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(226, 222, 215);
    display: none;
  }
  .site-header__nav.is-open {
    display: flex;
  }
  .site-header__link {
    padding: 12px 0;
    width: 100%;
  }
}
