.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px 8px;
  color: #fff;
  mix-blend-mode: difference;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header-brand {
  display: grid;
  gap: 1px;
  align-items: start;
  justify-items: start;
}

.site-header-logo {
  color: inherit;
  text-decoration: none;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.site-header-socials {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-social-link {
  display: inline-flex;
  width: 24px;
  height: 23px;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.78;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-header-social-link:hover,
.site-header-social-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px) scale(1.08);
  outline: none;
}

.site-header-social-link svg {
  width: 23px;
  height: 23px;
  display: block;
}

.site-header-nav {
  min-height: 38px;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  color: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header-link,
.site-header-search {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: 0.78;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

.site-header-link {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

button.site-header-link {
  appearance: none;
}

.site-header-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 92px;
  overflow: hidden;
  padding: 0 12px;
  transition:
    width 0.46s cubic-bezier(.22, .61, .36, 1),
    background-color 0.26s ease,
    border-color 0.26s ease,
    color 0.26s ease,
    opacity 0.26s ease;
}

.site-header-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.site-header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  outline: 0;
}

.site-header-search input::placeholder {
  color: currentColor;
  opacity: 1;
}

.site-header-link:hover,
.site-header-link:focus-visible,
.site-header-cart-trigger[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.95);
  color: #151515;
  opacity: 1;
  transform: scale(1.07);
  outline: none;
}

.site-header-search:hover,
.site-header-search:focus-within {
  width: 184px;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.95);
  color: #151515;
  opacity: 1;
  outline: none;
}

.site-header-search:has(input:not(:placeholder-shown)) {
  width: 146px;
  opacity: 1;
}

.site-header-link.is-active {
  opacity: 1;
}

.site-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-header-cart-backdrop {
  position: fixed;
  z-index: 139;
  background: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.site-header-cart-backdrop[hidden] {
  display: none;
}

.site-header-cart-backdrop.is-open {
  opacity: 1;
}

.site-header-cart-menu {
  position: fixed;
  z-index: 140;
  width: min(340px, calc(100vw - 32px));
  color: #151515;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.site-header-cart-menu[hidden] {
  display: none;
}

.site-header-cart-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-header-cart-panel {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  background: transparent;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  letter-spacing: 0;
  text-transform: none;
}

.site-header-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #f7f1e8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header-cart-items {
  display: grid;
  gap: 10px;
  max-height: min(360px, 52vh);
  overflow: auto;
}

.site-header-cart-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  width: 100%;
  height: 64px;
  align-items: stretch;
  overflow: hidden;
  background: #20242a;
  box-shadow: inset 0 0 0 1px #41464d;
  box-sizing: border-box;
}

.site-header-cart-item + .site-header-cart-item {
  margin-top: 0;
}

.site-header-cart-item-copy {
  min-width: 0;
  min-height: 0;
  height: 64px;
  max-height: 64px;
  display: grid;
  align-items: center;
  align-content: center;
  gap: 2px;
  overflow: hidden;
  padding: 0 12px;
}

.site-header-cart-item img {
  width: 52px;
  height: 64px;
  max-height: 64px;
  object-fit: cover;
  background: #e5ded2;
}

.site-header-cart-item strong,
.site-header-cart-item span,
.site-header-cart-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-cart-item strong {
  color: #f7f1e8;
  font-size: 13px;
  line-height: 1.2;
}

.site-header-cart-item span,
.site-header-cart-item small,
.site-header-cart-empty {
  color: rgba(247, 241, 232, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.site-header-cart-empty {
  margin: 0;
}

.site-header-cart-checkout {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f7f1e8;
  background: #f7f1e8;
  color: #151515;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

.site-header-cart-checkout:hover,
.site-header-cart-checkout:focus-visible {
  background: #f7f1e8;
  color: #151515;
  opacity: 0.86;
  outline: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 54px;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    padding: 7px 12px 6px;
    color: #fff;
    mix-blend-mode: difference;
  }

  .site-header-brand {
    width: auto;
    flex: 0 0 auto;
    gap: 0;
  }

  .site-header-logo {
    font-size: 22px;
    line-height: 0.9;
  }

  .site-header-socials {
    width: 78px;
  }

  .site-header-social-link {
    width: 14px;
    height: 14px;
  }

  .site-header-social-link svg {
    width: 13px;
    height: 13px;
  }

  .site-header-nav {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 30px;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 5px;
    align-self: flex-start;
    padding-top: 6px;
    font-size: 7.5px;
    letter-spacing: 0.08em;
  }

  .site-header-link {
    min-height: 30px;
    padding: 0 4px;
    white-space: nowrap;
  }

  .site-header-search {
    flex: 0 0 38px;
    justify-content: flex-start;
    gap: 3px;
    width: 38px;
    min-height: 30px;
    padding: 0 3px;
  }

  .site-header-search svg {
    width: 9px;
    height: 9px;
  }

  .site-header-search:hover,
  .site-header-search:focus-within {
    width: 102px;
  }

  .site-header-search:has(input:not(:placeholder-shown)) {
    width: 70px;
  }

  .site-header-search input {
    position: static;
    inset: auto;
    width: 100%;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header-search:focus-within {
    position: relative;
    inset: auto;
    z-index: 2;
    justify-content: flex-start;
    padding: 0 6px;
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.95);
    color: #151515;
    box-shadow: 0 10px 24px rgba(21, 21, 21, 0.12);
  }

  .site-header-search:focus-within input {
    position: static;
    inset: auto;
    width: 100%;
    opacity: 1;
  }

  .site-header-cart-menu {
    top: 58px;
    right: 8px;
    left: 8px;
    width: auto;
  }
}
