/* Keep the compact header focused on identity, appearance and navigation.
   The structural selectors support the retained production header markup. */
@media (max-width: 1359px) {
  .sf-storefront > header .sf-header-socials,
  .sf-storefront > header [class~='min-[1360px]:hidden']:has(> a[aria-label='Facebook']) {
    display: none;
  }

  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) {
    min-height: 44px;
  }
  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
  }
  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) > div > span {
    margin-block: 0;
  }
  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) > div > span:first-child {
    font-size: 10px;
  }
  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) > div > span:nth-child(2) {
    font-size: 13px;
    white-space: nowrap;
  }
  .sf-storefront > header a:has(> img[alt='Sovereign Flame Phoenix']) > div > span:last-child {
    font-size: 9px;
    align-self: flex-end;
  }

  .sf-storefront > header .sf-mobile-socials,
  .sf-storefront > header > .fixed div:has(> span + div > a[aria-label='Facebook']) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-inline: 8px;
  }
  .sf-storefront > header .sf-mobile-socials > div,
  .sf-storefront > header > .fixed div:has(> span + div > a[aria-label='Facebook']) > div {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    gap: 8px;
  }
  .sf-storefront > header .sf-mobile-socials > div > a,
  .sf-storefront > header > .fixed div:has(> span + div > a[aria-label='Facebook']) > div > a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}
