/**
 * Checkout 2026, Step 2 only. Join page 51256.
 * Presentation layer. Does not restyle Step 1.
 * Remove this file and its enqueue to drop the prototype.
 */

body.page-id-51256 .mm-checkout-step2 {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-line: rgba(12, 40, 50, 0.2);
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--ys-paper);
  color: var(--ys-ink);
  font-family: var(--ys-sans);
}

body.page-id-51256 .mm-checkout-step2 .yoga-join-step2 {
  background: transparent;
  border-radius: 0;
  color: var(--ys-ink);
  padding: 0.35rem 8% 3rem 2.5rem;
}

body.page-id-51256 .mm-checkout-step2 .join-left {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

body.page-id-51256 .mm-checkout-step2 .join-left > .x-text {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

body.page-id-51256 .mm-checkout-step2 .join-left .x-image {
  display: none;
  margin: 0;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-summary {
  max-width: 22rem;
  margin: 0;
  padding-top: 0.35rem;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-summary p {
  margin: 0;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-kicker,
body.page-id-51256 .mm-checkout-step2 .ys-co2-step {
  color: var(--ys-ink-soft);
  font-family: var(--ys-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-name,
body.page-id-51256 .mm-checkout-step2 .ys-co2-title {
  margin: 0.7rem 0 0;
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-billing {
  margin-top: 0.85rem;
  color: var(--ys-ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-due {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 40, 50, 0.16);
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-due-label {
  display: block;
  color: var(--ys-ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-due-amount {
  display: block;
  margin-top: 0.2rem;
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 300;
  line-height: 1.2;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-payhead {
  margin: 1.35rem 0 1rem;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.page-id-51256 .mm-checkout-step2 .billing-fields-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-label {
  display: block;
  grid-column: 1 / -1;
  margin: 0 0 -0.55rem;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

body.page-id-51256 .mm-checkout-step2 #mm_custom_field_10,
body.page-id-51256 .mm-checkout-step2 #mm_field_cc_number_div {
  grid-column: 1 / -1;
}

body.page-id-51256 .mm-checkout-step2 #mm_custom_field_10,
body.page-id-51256 .mm-checkout-step2 #mm_field_coupon_code {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  background: var(--ys-field);
  box-shadow: none;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1rem;
}

body.page-id-51256 .mm-checkout-step2 #mm_custom_field_10::before {
  content: none;
  display: none;
}

body.page-id-51256 .mm-checkout-step2 #mm_field_cc_number_div::before,
body.page-id-51256 .mm-checkout-step2 #mm_field_cc_exp_div::before,
body.page-id-51256 .mm-checkout-step2 #mm_field_cc_cvv_div::before {
  position: absolute;
  top: -1.5rem;
  left: 0;
  display: block;
  margin: 0;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

body.page-id-51256 .mm-checkout-step2 #mm_field_cc_number_div::before {
  content: "Card number";
}

body.page-id-51256 .mm-checkout-step2 #mm_field_cc_exp_div::before {
  content: "Expiry";
}

body.page-id-51256 .mm-checkout-step2 #mm_field_cc_cvv_div::before {
  content: "CVV";
}

body.page-id-51256 .mm-checkout-step2 #mm_field_cc_number_div,
body.page-id-51256 .mm-checkout-step2 #mm_field_cc_exp_div,
body.page-id-51256 .mm-checkout-step2 #mm_field_cc_cvv_div {
  position: relative;
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-height: 3.15rem;
  margin: 1.9rem 0 0;
  padding: 0.95rem 0.95rem;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  background: var(--ys-field);
  box-shadow: none;
  color: var(--ys-ink);
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-promo {
  margin-top: 1.35rem;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-promo summary {
  width: fit-content;
  color: var(--ys-teal);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

body.page-id-51256 .mm-checkout-step2 .ys-co2-promo summary::-webkit-details-marker {
  display: none;
}

body.page-id-51256 .mm-checkout-step2 .coupon-fields-container {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

body.page-id-51256 .mm-checkout-step2 #mm_field_coupon_code {
  border-radius: 3px;
}

body.page-id-51256 .mm-checkout-step2 .promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1rem;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  background: transparent;
  color: var(--ys-teal);
  font-family: var(--ys-sans);
  font-weight: 500;
}

body.page-id-51256 .mm-checkout-step2 .mm-couponSuccessMessage,
body.page-id-51256 .mm-checkout-step2 .mm-couponErrorMessage {
  display: block;
  margin-top: 0.35rem;
  color: var(--ys-ink);
  font-size: 0.875rem;
}

body.page-id-51256 .mm-checkout-step2 p.terms-text,
body.page-id-51256 .mm-checkout-step2 p.ys-checkout-privacy {
  color: var(--ys-ink-soft);
  font-family: var(--ys-sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

body.page-id-51256 .mm-checkout-step2 p.terms-text {
  margin: 1.35rem 0 0.35rem;
}

body.page-id-51256 .mm-checkout-step2 p.ys-checkout-privacy {
  margin: 0 0 1.15rem;
}

body.page-id-51256 .mm-checkout-step2 a.terms-link {
  color: var(--ys-teal);
  font-size: inherit;
  font-weight: 500;
}

body.page-id-51256 .mm-checkout-step2 input.terms-check {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0 0.45rem 0 0;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  accent-color: var(--ys-teal);
}

body.page-id-51256 .mm-checkout-step2 .final-submit-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

body.page-id-51256 .mm-checkout-step2 a.mm-button.credit-card {
  order: 1;
  width: auto;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 3px;
  background: var(--ys-teal);
  box-shadow: none;
  color: var(--ys-field);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
  text-shadow: none;
}

body.page-id-51256 .mm-checkout-step2 a.mm-button.credit-card:hover {
  background: #00485c;
  opacity: 1;
}

body.page-id-51256 .mm-checkout-step2 a.mm-paypalCheckoutBtn {
  order: 2;
  width: auto;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  color: var(--ys-teal);
  font-family: var(--ys-sans);
  font-size: 1rem;
  font-weight: 500;
  text-shadow: none;
}

body.page-id-51256 .mm-checkout-step2 a.mm-paypalCheckoutBtn:hover {
  background: rgba(12, 40, 50, 0.04);
  opacity: 1;
}

body.page-id-51256 .mm-checkout-step2 .mm-formError {
  color: #9c3d34;
  font-family: var(--ys-sans);
}

@media (max-width: 980px) {
  body.page-id-51256 .mm-checkout-step2 .x-row-inner {
    flex-direction: column;
  }

  body.page-id-51256 .mm-checkout-step2 .x-col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }

  body.page-id-51256 .mm-checkout-step2 .join-left {
    width: 100%;
    max-width: none;
    align-items: stretch;
    padding: 0.25rem 1.25rem 0 !important;
  }

  body.page-id-51256 .mm-checkout-step2 .join-left > .x-text,
  body.page-id-51256 .mm-checkout-step2 .ys-co2-summary {
    width: 100%;
    max-width: 36rem;
  }

  body.page-id-51256 .mm-checkout-step2 .yoga-join-step2 {
    padding: 1.25rem 1.25rem 2.5rem;
  }

  body.page-id-51256 .mm-checkout-step2 .billing-fields-container,
  body.page-id-51256 .mm-checkout-step2 #mm_field_cc_exp_div,
  body.page-id-51256 .mm-checkout-step2 #mm_field_cc_cvv_div {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
  }

  body.page-id-51256 .mm-checkout-step2 .final-submit-container,
  body.page-id-51256 .mm-checkout-step2 a.mm-button.credit-card,
  body.page-id-51256 .mm-checkout-step2 a.mm-paypalCheckoutBtn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-51256 .mm-checkout-step2 a.mm-button {
    transition: none;
  }
}
