.ta-mpa {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  color: #161616;
  font-size: 18px;
  line-height: 1.4;
}
.ta-mpa button,
.ta-mpa input {
  box-sizing: border-box;
}
.ta-mpa-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #5c5346;
}
.ta-mpa h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
}
.ta-mpa-head p {
  margin: 0;
  max-width: 40rem;
}
.ta-mpa-preview {
  min-width: 0;
  max-width: 640px;
  margin: 24px 0;
}
.ta-mpa-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 22, 22, 0.06);
}
.ta-mpa-stage img,
.ta-mpa-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ta-mpa-stage img {
  object-fit: contain;
}
.ta-mpa-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 18px;
}
.ta-mpa-face button {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.ta-mpa-swatches {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  margin-top: 12px;
  padding-bottom: 4px;
}
.ta-mpa-swatch {
  flex: 0 0 88px;
  width: 88px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #161616;
  font-size: 18px;
  cursor: pointer;
}
.ta-mpa-swatch span {
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.06);
}
.ta-mpa-swatch.is-on span {
  box-shadow: 0 0 0 2px #b8860b;
}
.ta-mpa-swatch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ta-mpa-swatch strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ta-mpa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
}
.ta-mpa-layout > *,
#ta-mpa-step {
  min-width: 0;
  max-width: 100%;
}
.ta-mpa h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.ta-mpa-note,
.ta-mpa-help {
  font-size: 18px;
}
.ta-mpa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ta-mpa-choice,
.ta-mpa-next,
.ta-mpa-add,
.ta-mpa-quiet {
  min-height: 48px;
  border-radius: 999px;
  font-size: 18px;
  padding: 12px 18px;
}
.ta-mpa-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  background: #fff;
  border: 2px solid #161616;
  color: #161616;
  cursor: pointer;
}
.ta-mpa-choice.is-on,
.ta-mpa-choice[aria-pressed="true"] {
  background: #161616;
  color: #fff;
}
.ta-mpa-photo {
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #161616;
  text-align: left;
}
.ta-mpa-photo.is-on,
.ta-mpa-photo[aria-pressed="true"] {
  background: transparent;
  color: #161616;
}
.ta-mpa-tile {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.06);
}
.ta-mpa-photo.is-on .ta-mpa-tile {
  box-shadow: 0 0 0 2px #b8860b, 0 8px 24px rgba(22, 22, 22, 0.06);
}
.ta-mpa-tile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  padding: 12px;
}
.ta-mpa-photo strong,
.ta-mpa-photo span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.3;
}
.ta-mpa-designs .ta-mpa-tile {
  aspect-ratio: 1;
}
.ta-mpa-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.ta-mpa-chosen {
  margin: 12px 0 0;
  font-size: 18px;
}
.ta-mpa-photos .ta-mpa-choice,
.ta-mpa-designs .ta-mpa-choice {
  min-width: 0;
}
.ta-mpa-next,
.ta-mpa-add {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: #161616;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.ta-mpa-next:disabled,
.ta-mpa-add:disabled {
  opacity: 0.45;
  cursor: default;
}
.ta-mpa-quiet {
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: #161616;
  text-decoration: underline;
  cursor: pointer;
}
#ta-mpa-art {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  font-size: 18px;
}
.ta-mpa-search,
.ta-mpa-field input {
  width: 100%;
  min-height: 48px;
  font-size: 18px;
  padding: 10px 14px;
  border: 2px solid #161616;
  border-radius: 12px;
  box-sizing: border-box;
}
.ta-mpa-card {
  margin-top: 16px;
  padding: 16px;
  border: 2px solid #161616;
  border-radius: 16px;
}
.ta-mpa-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 18px;
}
.ta-mpa-price {
  position: sticky;
  top: 16px;
  padding: 16px;
  background: #f7f4ee;
  border-radius: 16px;
}
.ta-mpa-price li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}
.ta-mpa-hits {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.ta-mpa-hits button {
  width: 100%;
  min-height: 48px;
  text-align: left;
  font-size: 18px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}
.ta-mpa-help {
  margin-top: 28px;
}
@media (max-width: 800px) {
  .ta-mpa-grid,
  .ta-mpa-photos {
    grid-template-columns: 1fr 1fr;
  }
  .ta-mpa-layout {
    grid-template-columns: 1fr;
  }
  .ta-mpa-stage {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }
  .ta-mpa h1 {
    font-size: 32px;
  }
}
@media (max-width: 520px) {
  .ta-mpa-grid {
    grid-template-columns: 1fr;
  }
  .ta-mpa-photos,
  .ta-mpa-designs,
  .ta-mpa-words {
    grid-template-columns: 1fr 1fr;
  }
}
.ta-mpa-back {
  min-height: 48px;
  margin: 0 0 16px;
  padding: 0 20px;
  font-size: 18px;
  background: #fff;
  border: 2px solid #161616;
  border-radius: 999px;
  cursor: pointer;
}
.ta-mpa-words {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 16px;
}
.ta-mpa-word {
  min-height: 112px;
  padding: 14px;
  text-align: left;
  font-size: 18px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.06);
  cursor: pointer;
}
.ta-mpa-word.is-on {
  border-color: #b8860b;
  box-shadow: 0 0 0 3px #b8860b;
}
.ta-mpa-word strong,
.ta-mpa-word span {
  display: block;
}
.ta-mpa-word span {
  color: #5c5346;
  font-size: 16px;
}
.ta-mpa-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  stroke: #0b1f3a;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ta-mpa-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.ta-mpa-example {
  min-height: 48px;
  padding: 0 16px;
  font-size: 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
}
.ta-mpa-specs {
  margin: 0 0 28px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
}
.ta-mpa-fold {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 8px 0 0;
  padding: 12px 16px;
  text-align: left;
  font-size: 18px;
  background: #fff;
  border: 2px solid #161616;
  border-radius: 16px;
  cursor: pointer;
}
.ta-mpa-fold.is-on {
  border-color: #b8860b;
  box-shadow: 0 0 0 3px #b8860b;
}
.ta-mpa-fold-body {
  padding: 12px 8px 4px;
}
.ta-mpa-specs h2,
.ta-mpa-specs h3 {
  margin: 0 0 8px;
}
.ta-mpa-specs ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}
.ta-mpa-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}
.ta-mpa-specs th,
.ta-mpa-specs td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.ta-mpa-plus {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 64px;
  line-height: 1;
}
