.desktop-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: 100%;
  background-color: var(--color-red-900);
  background-image:
    var(--header-customer-desktop-banner-image, var(--theme-header-image)),
    var(--theme-header-background);
  background-position: var(--theme-header-image-position), center;
  background-size: var(--theme-header-image-size), cover;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--theme-header-border);
  box-shadow: var(--theme-header-shadow);
}

.desktop-header__inner {
  min-height: var(--theme-header-height);
  display: grid;
  grid-template-columns: var(--theme-header-grid-columns, 280px 1fr auto);
  grid-template-rows: var(--theme-header-grid-rows, auto);
  align-items: center;
  gap: var(--theme-header-gap, 24px);
}

.brand-link,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  grid-column: var(--theme-brand-grid-column, auto);
  grid-row: var(--theme-brand-grid-row, auto);
  justify-self: var(--theme-brand-justify, auto);
  padding: var(--theme-brand-surface-padding);
  border: 1px solid var(--theme-brand-surface-border);
  border-radius: 14px;
  background: var(--theme-brand-surface);
  box-shadow: var(--theme-brand-surface-shadow);
}

.brand-mark,
.mobile-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-small);
  background-color: var(--color-red-700);
  background-image: var(--header-customer-logo-image, var(--theme-logo-image, var(--theme-brand-mark-background)));
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--theme-brand-mark-color);
  font-weight: 900;
  border: 2px solid #ffd56f;
  box-shadow: inset 0 0 0 1px rgba(123, 17, 19, 0.28);
}

.brand-copy {
  display: grid;
  gap: 2px;
  justify-items: var(--theme-brand-copy-justify, start);
  text-align: var(--theme-brand-copy-text-align, left);
}

.mobile-brand > span:last-child {
  display: grid;
  justify-items: var(--theme-brand-copy-justify, start);
  text-align: var(--theme-brand-copy-text-align, left);
}

.brand-copy strong,
.mobile-brand strong {
  color: var(--header-site-name-color, var(--color-red-800));
  font-size: var(--header-site-name-size, 26px);
  line-height: 1.1;
  text-shadow: var(--theme-brand-text-shadow);
}

.brand-copy small,
.mobile-brand small {
  color: var(--header-domain-color, var(--color-red-800));
  font-size: var(--header-domain-size, 16px);
  font-weight: 800;
  text-shadow: var(--theme-brand-text-shadow);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  grid-column: var(--theme-nav-grid-column, auto);
  grid-row: var(--theme-nav-grid-row, auto);
  align-self: var(--theme-nav-align, auto);
}

.nav-link,
.account-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--theme-nav-border);
  border-radius: var(--radius-small);
  background: var(--theme-nav-background);
  color: var(--theme-nav-color);
  font-weight: 700;
}

.nav-button,
.account-link {
  appearance: none;
}

.nav-link:hover,
.account-link:hover,
.nav-link.is-active {
  background: var(--theme-nav-active-background);
  color: var(--theme-nav-active-color);
  border-color: var(--color-gold-500);
}

.desktop-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-nav-color);
  font-weight: 700;
  grid-column: var(--theme-actions-grid-column, auto);
  grid-row: var(--theme-actions-grid-row, auto);
  align-self: var(--theme-actions-align, auto);
}

.account-points {
  color: #b40000;
  font-weight: 800;
  white-space: nowrap;
}

.account-logout-form {
  margin: 0;
}

.account-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.mobile-points {
  margin-left: auto;
  color: #b40000;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: 100%;
  min-height: var(--theme-mobile-header-height);
  padding: 8px 14px;
  background-color: var(--color-red-900);
  background-image:
    var(--header-customer-mobile-banner-image, var(--theme-mobile-header-image, var(--theme-header-image))),
    var(--theme-header-background);
  background-position: var(--theme-mobile-header-image-position, var(--theme-header-image-position)), center;
  background-size: var(--theme-mobile-header-image-size, var(--theme-header-image-size)), cover;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--theme-header-border);
  box-shadow: var(--theme-header-shadow);
}

.mobile-brand__mark {
  width: 38px;
  height: 38px;
}

.mobile-brand strong {
  font-size: var(--header-site-name-size-mobile, 22px);
}

.mobile-brand small {
  font-size: var(--header-domain-size-mobile, 13px);
}
