.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: none !important;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 200ms ease;
  padding: 0;
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

body .site-header:not(.dynamic-header) {
  max-width: none !important;
}

.site-header__inner {
  width: min(100% - 48px, var(--fr-header-max));
  max-width: var(--fr-header-max) !important;
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin-inline: auto;
}

body .site-header .site-header__inner {
  max-width: var(--fr-header-max) !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  text-decoration: none;
}

.brand__mark {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.8);
}

.brand:hover .brand__mark {
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.brand__text {
  display: none;
}

.brand__name {
  font-size: 17px;
}

.brand__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 30px;
  color: #fff;
  font-family: var(--fr-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  padding: 7px 0;
  transition: color 200ms ease;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list>li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__account-link,
.nav__socials {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  color: #fff;
}

.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}


.social-link:hover,
.social-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions__divider {
  width: 1px;
  height: 26px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.2);
}

.header-search-trigger,
[data-search-modal-open] {
  display: none !important;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
  position: relative;
}

.icon-button svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

.icon-button:hover,
.icon-button:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}


.cart-link span {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-family: var(--fr-body);
  font-size: 10px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
}


.menu-toggle__close {
  display: none;
}

@media (max-width: 860px) {
  :root {
    --fr-mobile-header-height: 76px;
  }

  body.has-mobile-menu-open {
    overflow: hidden;
  }

  body.has-mobile-menu-open::before {
    display: none;
  }

  .site-header {
    background: #000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header__inner {
    width: min(100% - 32px, var(--fr-header-max));
    min-height: var(--fr-mobile-header-height);
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    row-gap: 0;
    column-gap: 16px;
    padding: 10px 0;
    position: relative;
    z-index: 1002;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .brand__mark {
    width: 72px;
    height: 56px;
  }

  .nav {
    position: fixed;
    top: var(--fr-mobile-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow-y: auto;
    padding: 42px 24px 36px;
    background: #000;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 240ms ease, visibility 180ms ease;
  }

  .site-header.is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: inline-flex;
    justify-content: center;
    padding: 5px 0;
    border-top: 0;
    color: #fff;
    text-align: center;
  }

  .nav a::after {
    display: none;
  }

  .nav__list {
    display: contents;
  }

  .nav__list>li {
    display: contents;
  }

  .nav__account-link {
    display: inline-flex;
  }

  .nav__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: clamp(42px, 12vh, 110px);
  }

  .nav__socials .icon-button {
    width: 25px;
    height: 25px;
    padding: 0;
    background: transparent;
    color: #fff;
  }

  .nav__socials .icon-button:hover,
  .nav__socials .icon-button:focus {
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
  }

  .nav__socials .icon-button svg {
    width: 100%;
    height: 100%;
  }

  .header-actions {
    display: contents;
  }

  .header-socials,
  .header-account {
    display: none;
  }

  .header-actions__divider {
    height: 22px;
  }

  .icon-button,
  .cart-link,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }


  .nav__socials .icon-button {
    width: 25px;
    height: 25px;
  }

  .nav__socials .icon-button svg {
    width: 100%;
    height: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    z-index: 1003;
    padding: 5px;
    border-radius: 0;
    background: transparent !important;
  }

  .cart-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    z-index: 1003;
    padding: 6px;
    background: transparent;
  }

  .site-header.is-menu-open .menu-toggle__open {
    display: none;
  }

  .site-header.is-menu-open .menu-toggle__close {
    display: block;
  }

  .cart-link span {
    top: 0;
    right: 0;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 8px;
    font-size: 9px;
    line-height: 15px;
  }
}

@media (max-width: 390px) {
  :root {
    --fr-mobile-header-height: 72px;
  }

  .site-header__inner {
    width: 100%;
    padding-inline: 0px;
  }

  .brand__mark {
    width: 68px;
    height: 52px;
  }

  .nav {
    gap: 18px;
    padding-top: 36px;
    font-size: 24px;
  }
}
