.nd-pie-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.25rem 0 0;
}

.nd-pie {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.85rem 0.85rem 1.1rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--field);
}

.nd-pie-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.nd-pie-name {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--ink);
}

.nd-pie-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.nd-pie-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.nd-stepper {
  display: flex;
  flex: none;
  align-items: center;
  overflow: hidden;
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}

.nd-step {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.nd-step:hover {
  background: var(--ink);
  color: var(--cream);
}

.nd-count {
  width: 2.4rem;
  height: 2.5rem;
  border: 0;
  border-inline: 0.0625rem solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.nd-count::-webkit-outer-spin-button,
.nd-count::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.nd-count:focus {
  outline: 0.125rem solid var(--ink);
  outline-offset: -0.125rem;
}

.nd-pie-total {
  min-height: 1.5em;
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--ink);
}

.nd-pay-note {
  text-align: center;
}

.nd-tax-note {
  margin: -0.5rem 0 0.75rem;
  text-align: center;
  visibility: hidden;
}

.nd-tax-note.visible {
  visibility: visible;
}

.nd-closed {
  margin: 0 0 0.25rem;
}

#nd-confirm-pending a,
#nd-confirm-cancelled a {
  color: var(--ink);
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.2em;
}

@media (max-width: 30rem) {
  .nd-pie {
    flex-wrap: wrap;
  }

  .nd-pie-text {
    flex-basis: 100%;
  }

  .nd-stepper {
    margin-left: auto;
  }
}
