[data-site-header] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
}

[data-site-header].scrolled {
  padding: 10px 32px;
}

[data-site-header] .brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  transition: height .3s ease;
}

[data-site-header] nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 30px;
}

[data-site-header] nav.primary-nav a {
  position: relative;
  padding: 0 0 4px;
  color: #d6895b;
  font-size: 13.5px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

[data-site-header] nav.primary-nav a:hover {
  color: #095395;
}

[data-site-header] .header-cart {
  display: inline-block;
  border: 0;
  background: none;
  color: #d6895b;
  font-size: 13.5px;
  font-weight: 400;
  line-height: normal;
  padding: 8px 0;
}

[data-site-header] .cart-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 5px;
  background: #d6895b;
  color: #fff;
  font-size: 11px;
}

.shared-menu-toggle,
.shared-mobile-nav {
  display: none;
}

@media (max-width: 1100px) {
  .site-header[data-site-header] {
    padding: 12px 16px;
  }

  .site-header[data-site-header] nav.primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .site-header[data-site-header] nav.primary-nav a {
    font-size: 12px;
  }

  .site-header[data-site-header] .brand-logo {
    height: 44px;
  }

  .site-header[data-site-header] [data-primary-nav] {
    display: none;
  }

  .site-header[data-site-header] .shared-menu-toggle {
    position: relative;
    z-index: 302;
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .shared-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #322c11;
    transition: transform .25s ease, opacity .2s ease;
  }

  .shared-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .shared-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .shared-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .shared-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 82px 24px 32px;
    overflow-y: auto;
    background: #fff0ea;
  }

  .shared-mobile-nav.is-open {
    display: flex;
  }

  body.shared-menu-open .site-header[data-site-header] {
    z-index: 302;
    background: transparent;
    backdrop-filter: none;
  }

  .shared-mobile-nav a {
    color: #d6895b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }

  body.shared-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 920px) {
  #siteHeader nav.primary-nav {
    display: none;
  }
}
