.brand-header .profile-button {
  flex: 0 0 52px;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
}

.profile-button.signed-in {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
}

.header-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font: 600 16px "Fraunces", serif;
  letter-spacing: .04em;
}

.profile-logout-row {
  margin-top: 18px;
  color: #6f4f43;
  background: #f7f4ee !important;
  border: 1px solid var(--line) !important;
  border-radius: 7px;
}

.cart-glyph{font-size:18px;line-height:1}.cart-button{gap:7px}

.cart-dock{transition:background .2s ease,transform .2s ease}.cart-dock.added{background:var(--green);animation:cart-confirm .28s ease}.cart-dock.added #dockCount{color:var(--green);background:#fff}@keyframes cart-confirm{50%{transform:translateX(-50%) scale(1.025)}}

@media (max-width: 520px) {
  .cart-button>.cart-glyph{display:inline-block}

  body:has(.profile-backdrop) {
    overflow: hidden;
  }

  .profile-backdrop {
    display: block;
    padding: 0;
    background: #fff;
    backdrop-filter: none;
  }

  .profile-backdrop .profile-modal {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    padding:
      max(34px, env(safe-area-inset-top))
      30px
      max(34px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 0;
    box-shadow: none;
    overscroll-behavior: contain;
  }

  .profile-backdrop .modal-close {
    position: sticky;
    z-index: 2;
    top: 0;
    float: right;
    margin-top: -8px;
    margin-right: -8px;
  }

  .profile-backdrop .profile-modal h2 {
    font-size: 32px;
  }

  .profile-backdrop .profile-menu {
    gap: 14px;
    margin-top: 26px;
  }

  .profile-backdrop .profile-menu button,
  .profile-backdrop .profile-menu a {
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .profile-backdrop .profile-identity {
    padding-top: 10px;
  }

  .profile-backdrop input,
  .profile-backdrop textarea,
  .profile-backdrop select {
    font-size: 16px;
  }
}
