.account-dashboard {
  display: grid;
  gap: 1.25rem;
  max-inline-size: 58rem;
  margin-inline: auto;
}

.account-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-profile h2,
.account-profile p {
  margin: .1rem 0;
}

.account-profile__logout {
  min-block-size: 2.75rem;
  border: 1px solid var(--store-accent);
  border-radius: var(--store-radius-sm);
  padding: .6rem 1rem;
  background: var(--store-surface);
  color: var(--store-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-profile__logout:hover {
  background: var(--store-bg);
}

.account-orders {
  display: grid;
}

.account-orders article {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  border-block-end: 1px solid var(--store-border);
  padding: .9rem 0;
}

@media (max-width: 40rem) {
  .account-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-orders article {
    grid-template-columns: 1fr 1fr;
  }
}
