.sunday-header {
  background: var(--ss-color-primary);
  color: var(--ss-color-text-invert);
  position: relative;
  font-family: var(--ss-font-body);
  --sunday-header-text-trim: -0.1em;
  --sunday-header-text-nudge: 0.08em;
}
.sunday-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ss-space-6);
  padding-block: var(--ss-space-3);
}
.sunday-header__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--ss-white);
}
.sunday-header__brand-image {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.sunday-header__logo-svg {
  display: block;
  width: auto;
  height: 56px;
  color: var(--ss-white);
}

.sunday-header__links {
  display: flex;
  gap: var(--ss-space-7);
  font-weight: var(--ss-font-weight-bold);
  text-transform: uppercase;
  font-size: 36px;
  letter-spacing: 0.02em;
}
.sunday-header__links a {
  display: inline-block;
  line-height: 1;
  margin-bottom: var(--sunday-header-text-trim);
  transform: translateY(var(--sunday-header-text-nudge));
  transition: opacity 0.15s ease;
}
.sunday-header__links a:hover {
  opacity: 0.72;
}

.sunday-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ss-space-5);
  font-weight: var(--ss-font-weight-bold);
  text-transform: uppercase;
  font-size: 36px;
  letter-spacing: 0.02em;
}
.sunday-header__signin {
  display: inline-block;
  line-height: 1;
  margin-bottom: var(--sunday-header-text-trim);
  transform: translateY(var(--sunday-header-text-nudge));
  color: inherit;
  text-decoration: none;
}
.sunday-header__divider {
  width: 1.5px;
  height: 26px;
  background: rgba(255, 255, 255, 0.55);
  flex: none;
}
/* Sticky header (reuses theme-sticky-header from default header) */
theme-sticky-header {
  --theme-sticky-header-top: 0;
  position: relative;
  inset-block-start: 0;
  z-index: calc(var(--z-index-sticky) - 1);
  display: block;
}
.theme-sticky-header--sticky {
  display: contents;
}
.theme-sticky-header--sticky theme-sticky-header {
  position: sticky;
  inset-block-start: var(--theme-sticky-header-top);
  z-index: var(--z-index-sticky);
  animation: sunday-header-sticky-in 0.26s ease-out forwards;
}
.theme-sticky-header--sticky theme-sticky-header .sunday-header {
  position: relative;
  z-index: var(--z-index-sticky);
}
.theme-sticky-header--sticky-collapse theme-sticky-header {
  animation-name: sunday-header-sticky-out;
}
@keyframes sunday-header-sticky-in {
  0% {
    transform: translateY(calc(-100% + var(--theme-sticky-header-top) * -1));
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes sunday-header-sticky-out {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100% + var(--theme-sticky-header-top) * -1));
  }
}

.sunday-header__cart-btn,
.sunday-header__cart-btn > a,
.sunday-header__cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ss-white);
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  text-decoration: none;
}
.sunday-header__cart-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
  display: block;
}
.sunday-header__cart-btn .cart-bubble__count {
  position: absolute;
  top: -6px;
  right: -8px;
  inset-block-end: auto;
  inset-inline-start: auto;
  z-index: 1;
  min-width: 16px;
  height: 16px;
  padding-inline: 3px;
  font-family: var(--ss-font-body);
  font-size: 0.625rem;
  font-weight: var(--ss-font-weight-bold);
  line-height: 16px;
  color: var(--ss-red);
  text-align: center;
  background: var(--ss-yellow);
  border-radius: var(--ss-radius-pill);
  margin-bottom: 8px !important;
}
.sunday-header__cart-btn .cart-bubble__count:empty,
.sunday-header__cart-btn .cart-bubble__count[data-count="0"] {
  display: none;
}
.sunday-header__toggle {
  display: none;
}

@media (max-width: 820px) {
  .sunday-header__links,
  .sunday-header__signin {
    display: none;
  }
  .sunday-header__toggle {
    display: inline-flex;
    flex: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    color: var(--ss-white);
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
  }
  .sunday-header__toggle::before,
  .sunday-header__toggle::after {
    display: none;
    content: none;
  }
  .sunday-header__toggle svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    display: block;
  }
  .sunday-header__links.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    flex-direction: column;
    gap: var(--ss-space-4);
    background: var(--ss-color-primary);
    padding: var(--ss-space-5) var(--ss-container-pad);
  }
}
