.new-object-purchase {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--new-line);
}

.new-object-price,
.new-object-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.new-object-price strong,
.new-object-total strong {
  color: var(--aster-ink);
  font: 500 22px/1.2 var(--aster-serif);
  letter-spacing: -0.02em;
}

.new-object-price span,
.new-object-total span {
  color: #67645e;
  font-size: 11px;
  line-height: 1.5;
}

.new-object-purchase-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0;
}

.new-object-quantity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-object-quantity > span {
  color: #67645e;
  font-size: 11px;
  line-height: 1.4;
}

.new-object-quantity > div {
  display: inline-grid;
  grid-template-columns: 40px minmax(34px, auto) 40px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--new-line);
  background: #fff;
}

.new-object-quantity button {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 0;
  border: 0;
  color: var(--aster-ink);
  background: transparent;
  cursor: pointer;
}

.new-object-quantity button:disabled {
  opacity: 0.3;
  cursor: default;
}

.new-object-quantity output {
  min-width: 34px;
  color: var(--aster-ink);
  font: 400 13px/1 var(--aster-sans);
  text-align: center;
}

.new-object-total {
  text-align: right;
}

.new-object-purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.new-object-purchase-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--aster-ink);
  font: 400 12px/1.4 var(--aster-sans);
  cursor: pointer;
}

.new-object-purchase-actions button:disabled {
  opacity: 0.45;
  cursor: wait;
}

.new-object-purchase-actions .new-object-add {
  color: var(--aster-ink);
  background: #fff;
}

.new-object-purchase-actions .new-object-buy {
  color: #fff;
  background: var(--aster-button);
}

.new-object-purchase-actions button:focus-visible,
.new-object-quantity button:focus-visible {
  outline: 2px solid var(--aster-ink);
  outline-offset: 2px;
}

.new-object-purchase-notice {
  margin: 12px 0 0;
  color: #8b2e25;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .new-object-purchase-row {
    align-items: flex-start;
  }

  .new-object-purchase-actions {
    grid-template-columns: 1fr;
  }
}
