.mcc {
  color: #2b2118;
  font-family: "Josefin Sans", JosefineSans, sans-serif;
  margin: 12px auto 28px;
  max-width: 720px;
  text-align: left;
}

.mcc h2,
.mcc h3 {
  font-family: Lora, Georgia, serif;
  font-weight: 500;
}

.mcc h2,
.mcc-hint,
.mcc-pdf-wrap,
.mcc-privacy,
.mcc-totalbar,
.mcc-actions {
  text-align: center;
}

.mcc h2 {
  font-size: 1.6rem;
  margin: 1.4rem 0 0.3rem;
}

.mcc h3 {
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
}

.mcc-hint,
.mcc-privacy,
.mcc-copy p {
  color: #5c4d43;
  line-height: 1.5;
  margin: 0.2rem 0 0;
}

.mcc-pdf {
  background: #9b1f1a;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
}

.mcc-pdf:hover,
.mcc-pdf:focus {
  background: #7d1814;
  color: #fff;
}

.mcc-thanks {
  background: #f3efe6;
  border-radius: 12px;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
}

.mcc-errors {
  background: #fff4f2;
  border: 1px solid #9b1f1a;
  border-radius: 12px;
  margin: 1rem 0;
  padding: 0.8rem 1rem;
}

.mcc-row {
  align-items: center;
  border-bottom: 1px solid #eadfd4;
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-areas:
    "copy qty"
    "copy line"
    "note note";
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.9rem 0;
}

.mcc-copy {
  grid-area: copy;
}

.mcc-qty {
  grid-area: qty;
}

.mcc-line {
  grid-area: line;
}

.mcc-price,
.mcc-line {
  margin: 0.25rem 0 0;
}

.mcc-line {
  font-variant-numeric: tabular-nums;
  min-width: 5.5rem;
  text-align: right;
}

.mcc-qty {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.mcc-qty input {
  font: inherit;
  text-align: center;
  width: 4.2rem;
}

.mcc button,
.mcc input,
.mcc textarea {
  font: inherit;
}

.mcc-qty button,
.mcc-actions button {
  background: #9b1f1a;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1.1rem;
}

.mcc-qty button {
  font-size: 1.3rem;
  line-height: 1;
  padding: 0;
}

.mcc-actions button.mcc-back,
.mcc-back {
  background: transparent;
  border: 1px solid #9b1f1a;
  color: #9b1f1a;
}

.mcc-note {
  display: none;
  grid-area: note;
}

.mcc-row.is-picked .mcc-note {
  display: block;
}

.mcc-note input,
.mcc-fields input,
.mcc-fields textarea {
  border: 1px solid #d9cfc4;
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.mcc-fields label,
.mcc-check,
.mcc-choice label {
  display: block;
  margin: 0.8rem 0;
  text-align: left;
}

.mcc .mcc-choice label,
.mcc .mcc-check {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-start;
}

.mcc .mcc-choice input,
.mcc .mcc-check input {
  accent-color: #9b1f1a;
  appearance: auto;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 1.15rem;
  height: 1.15rem;
  margin: 0;
  min-width: 1.15rem;
  padding: 0;
  position: static;
  width: 1.15rem;
}

.mcc-choice {
  border: 0;
  margin: 0.8rem 0;
  padding: 0;
}

.mcc-totalbar {
  background: #fffaf6;
  border-top: 1px solid #eadfd4;
  margin-top: 0.5rem;
  padding: 0.8rem 0;
}

.mcc-totalbar p {
  margin: 0.15rem 0;
}

.mcc-sum {
  font-variant-numeric: tabular-nums;
}

.mcc-hp {
  left: -9999px;
  position: absolute;
}

.mcc-req {
  color: #9b1f1a;
}

.mcc.is-ready [data-step="2"] {
  display: none;
}

.mcc.is-ready.is-review [data-step="1"] {
  display: none;
}

.mcc.is-ready.is-review [data-step="2"] {
  display: block;
}

.mcc-review {
  display: grid;
  gap: 0;
}

@media (max-width: 640px) {
  .mcc-row {
    grid-template-areas:
      "copy copy"
      "qty line"
      "note note";
    grid-template-columns: 1fr auto;
  }
}
