.mcw {
  color: #2b2118;
  font-family: "Josefin Sans", JosefineSans, sans-serif;
  margin: 8px auto 36px;
  max-width: 760px;
  text-align: left;
}

.mcw h2,
.mcw h3,
.mcw-lead,
.mcw-totalbar,
.mcw-actions,
.mcw-privacy {
  text-align: center;
}

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

.mcw h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.mcw h3 {
  font-size: 1.35rem;
  margin: 1.4rem 0 0.35rem;
}

.mcw-lead,
.mcw-note,
.mcw-privacy,
.mcw p {
  color: #5c4d43;
  line-height: 1.55;
}

.mcw-card {
  background: #fbf7f2;
  border-radius: 16px;
  margin-top: 1.4rem;
  padding: 1.1rem 1rem 1.25rem;
}

.mcw-row {
  border-bottom: 1px solid #eadfd4;
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: 1fr auto;
  padding: 0.85rem 0;
}

.mcw-copy h3 {
  margin: 0;
  text-align: left;
}

.mcw-price,
.mcw-shop {
  margin: 0.15rem 0 0;
}

.mcw-shop a {
  color: #9b1f1a;
}

.mcw-direct {
  font-weight: 600;
}

.mcw-qty {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}

.mcw-qty input {
  text-align: center;
  width: 3.4rem;
}

.mcw button,
.mcw input,
.mcw select,
.mcw textarea {
  font: inherit;
}

.mcw input,
.mcw select,
.mcw textarea {
  border: 1px solid #d9cfc4;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
}

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

.mcw-qty button {
  padding: 0;
  width: 44px;
}

.mcw-actions button:hover,
.mcw-actions button:focus,
.mcw-confirm:hover,
.mcw-confirm:focus,
.mcw-qty button:hover,
.mcw-qty button:focus {
  background: #7d1814;
}

.mcw-fields label,
.mcw-choice {
  display: block;
  margin: 0.85rem 0;
  text-align: left;
}

.mcw-fields input,
.mcw-fields select,
.mcw-fields textarea,
.mcw-inscription input,
.mcw-pack select,
.mcw-budget input,
.mcw-boxes input {
  display: block;
  margin-top: 0.25rem;
  width: 100%;
}

.mcw-choice label {
  display: block;
  margin: 0.35rem 0;
}

.mcw-totalbar,
.mcw-review {
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
}

.mcw-sum,
.mcw-grand {
  color: #2b2118;
  font-family: Lora, Georgia, serif;
  font-size: 1.5rem;
}

.mcw-packline {
  margin-top: 0;
}

.mcw-plain {
  font-family: inherit;
  text-align: left;
  white-space: pre-wrap;
}

.mcw-thanks,
.mcw-warn {
  background: #f3efe6;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

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

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

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

.mcw-back {
  color: #9b1f1a;
}

@media (max-width: 640px) {
  .mcw {
    margin-left: 0;
    margin-right: 0;
  }

  .mcw h2 {
    font-size: 1.65rem;
  }

  .mcw-card {
    padding: 0.9rem 0.75rem 1rem;
  }

  .mcw-row {
    grid-template-columns: 1fr;
  }

  .mcw-actions button,
  .mcw-confirm {
    width: 100%;
  }
}
