/* One interactive desktop header for every public route. The homepage Figma
   artwork remains the visual reference, but its painted header is covered by
   this real navigation so links and cart state cannot diverge per page. */
@media (min-width: 1024px) {
  .storefront-header {
    position: relative;
    z-index: 60;
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
  }

  .storefront-header .mainhead {
    width: min(1280px, calc(100% - 80px));
    min-height: 80px;
    margin: 18px auto 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dfe7e4;
    border-radius: 24px;
    background: #f5faf5;
    box-shadow: 0 8px 30px #1517240a;
  }

  .storefront-header .mainhead > .logo {
    align-self: stretch;
    flex: 0 0 clamp(220px, 20.3125vw, 260px);
    min-width: 0;
    margin: 0;
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    border-radius: 23px 0 0 23px;
    background: #151724;
  }

  .storefront-header .mainhead > .logo .splitstream-logo {
    content: url('/assets/figma/layers/5-111.svg');
    width: 100%;
    max-width: 210px;
    height: auto;
  }

  .storefront-header .mainhead > .button.ink {
    align-self: stretch;
    flex: 0 0 clamp(132px, 13.5vw, 175px);
    min-height: 78px;
    padding: 0 20px 0 58px;
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: transparent no-repeat 24px center / 31px 31px url('/assets/figma/layers/9-172.svg');
    color: #151724;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  .storefront-header .mainhead > .button.ink svg {
    display: none;
  }

  .storefront-header .primary-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.3vw, 42px);
    min-width: 0;
    padding: 0 12px;
  }

  .storefront-header .primary-nav a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .storefront-header .head-actions {
    flex: 0 0 clamp(128px, 13vw, 176px);
    justify-content: flex-end;
    gap: 3px;
    padding-right: 22px;
  }

  .storefront-header .head-actions .iconbtn {
    width: 42px;
    height: 48px;
  }

  .storefront-header .cart-count {
    top: 2px;
    right: 0;
    background: #ec623f;
    color: #fff;
  }

  body.figma-desktop-home > header.storefront-header {
    display: block !important;
    position: absolute;
    top: clamp(32px, 4.72vw, 68px);
    left: 0;
    right: 0;
    z-index: 100;
  }

  body.figma-desktop-home > header.storefront-header .mainhead {
    margin-top: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .storefront-header .mainhead {
    width: calc(100% - 48px);
  }

  .storefront-header .mainhead > .logo {
    flex-basis: 210px;
    padding-inline: 20px;
  }

  .storefront-header .mainhead > .button.ink {
    flex-basis: 128px;
    padding-left: 49px;
    background-position-x: 17px;
  }

  .storefront-header .primary-nav {
    gap: 14px;
    padding-inline: 8px;
  }

  .storefront-header .primary-nav a {
    font-size: 12px;
  }

  .storefront-header .head-actions {
    flex-basis: 125px;
    padding-right: 9px;
  }

  .storefront-header .head-actions .iconbtn {
    width: 36px;
  }
}
