/**
 * New /join (LOL-428): Sweat's layout in jillianmichaels.com's own language.
 * The site barely colours text. It highlights with small square lime tags
 * (recipe cards) and thin framed cards (28 Shred; black here, to match the
 * selected term and the button), and lets Canela and spare uppercase labels
 * carry the rest.
 *
 * Mobile first: one column, plan then form. From 900px the plan sits on the
 * left and the form card on the right. Everything is scoped to .join-v2, so
 * the promo, returning-member and wizard /join pages keep the older styles.
 */

.join-v2 {
  --join-surface: #f5f5f5;
  --join-line: #cfcec9;
  --join-muted: #5c5c5c;
  --join-highlight: var(--color-electric-lime);
  --join-frame: var(--color-black);
  background: var(--join-surface) !important;
  color: var(--color-black);
  font-family: var(--font-body);
}

.join-v2.outer-container {
  position: relative;
  display: block;
}

/* Body Revolution's streak, darkened so white text holds up over the amber. */
.join-v2.outer-container::before,
.join-v2__review {
  background-color: #0b2b3a;
  background-image: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), url(../images/join-v2/streak.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* The banner ends just under the plan card; join-page.js sets --join-band from
   where that card lands. */
.join-v2.outer-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: var(--join-band, 400px);
}

.join-v2 .choose-plan-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100% !important;
  max-width: 1120px;
  height: auto;
  position: relative;
  margin: 0 auto;
  padding: 32px 16px 56px;
  background: transparent;
  box-sizing: border-box;
}

.join-v2 *,
.join-v2 *::before,
.join-v2 *::after {
  box-sizing: border-box;
}

/* ---- Plan column ---- */
.join-v2 .plan-options {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.join-v2__title {
  overflow-wrap: anywhere;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--color-white);
  text-transform: none;
}

.join-v2__title em {
  padding: 0 8px;
  background: var(--join-highlight);
  font-style: normal;
  color: var(--color-black);
  white-space: nowrap;
}

.join-v2 #subscription {
  display: block;
  width: 100%;
  margin: 0 0 24px;
}

.join-v2 #subscriptions.join-v2__terms {
  display: grid;
  grid-template-columns: repeat(var(--join-terms, 2), minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 60px;
}

/* The white pill slides between the two terms. */
.join-v2 #subscriptions.join-v2__terms::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px - 4px * (var(--join-terms, 2) - 1)) / var(--join-terms, 2));
  border-radius: 60px;
  background: var(--color-white);
  transition: transform .25s ease;
}

.join-v2 #subscriptions.join-v2__terms:has(.join-v2__term:nth-of-type(2) input:checked)::before {
  transform: translateX(calc(100% + 4px));
}

.join-v2 #subscriptions.join-v2__terms:has(.join-v2__term:nth-of-type(3) input:checked)::before {
  transform: translateX(calc(200% + 8px));
}

.join-v2__term {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border-radius: 60px !important;
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-white);
  cursor: pointer;
}

.join-v2 .join-v2__term input {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.join-v2 .join-v2__term > span:not(.join-v2__badge) {
  position: relative;
  color: var(--color-white);
  transition: color .25s ease;
}

.join-v2 .join-v2__term:has(input:checked) > span:not(.join-v2__badge) {
  color: var(--color-black);
}

.join-v2__term:has(input:focus-visible) {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.join-v2__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  padding: 4px 8px;
  background: var(--join-highlight);
  color: var(--color-black);
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.join-v2__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  border: 2px solid var(--join-frame);
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: rgba(0, 0, 0, .2) 0 2px 5px 0;
}

.join-v2__card-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--color-black);
}

.join-v2__card-price {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--join-muted);
}

.join-v2__card-today {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--color-black);
}

.join-v2__card-today strong {
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 30px;
  line-height: 1.1;
}

.join-v2__card-today span {
  margin-top: 4px;
  padding: 3px 7px;
  background: var(--join-highlight);
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.join-v2__heading {
  margin: 36px 0 8px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--color-black);
  text-transform: none;
}

.join-v2__lede {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--join-muted);
}

.join-v2__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-v2__timeline li {
  display: flex;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
}

.join-v2__timeline li:last-child {
  margin-bottom: 0;
}

.join-v2__timeline svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--color-black);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.join-v2__timeline strong {
  display: block;
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

.join-v2__timeline span {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--join-muted);
}

.join-v2__included {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.join-v2__included li {
  position: relative;
  margin: 0 0 10px;
  padding: 0 0 0 34px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--join-muted);
}

.join-v2__included li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 8px;
  border-left: 1.5px solid var(--color-black);
  border-bottom: 1.5px solid var(--color-black);
  transform: rotate(-45deg);
}

.join-v2__review {
  margin: 32px 0 0;
  padding: 24px 20px;
  border-radius: 10px;
  text-align: center;
}

.join-v2__stars {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--color-white);
}

.join-v2__review blockquote {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 22px;
  font-style: normal;
  line-height: 1.35;
  color: var(--color-white);
}

.join-v2__review figcaption {
  font-size: 13px;
  color: var(--color-white);
}

/* ---- Form card ---- */
.join-v2 .login-block,
.join-v2 .pay-form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 28px 20px;
  border: 1px solid var(--join-line);
  border-radius: 10px;
  background: var(--color-white);
}

.join-v2 .pay-form {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.join-v2 .pay,
.join-v2 #selected-plan,
.join-v2 #payment-title,
.join-v2 #choose-plan-text,
.join-v2 #truemed-instructions-join,
.join-v2 #truemed-instructions-plan-sel {
  display: none !important;
}

.join-v2 .login,
.join-v2 .login-wrapper,
.join-v2 .login-wrapper > div,
.join-v2 .user-login {
  display: block;
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

.join-v2 #user-create,
.join-v2 #user-login {
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.join-v2 #user-create:not([style*="none"]),
.join-v2 #user-login:not([style*="none"]) {
  display: flex;
}

.join-v2 #user-create > *,
.join-v2 #user-login > * {
  order: 2;
}

.join-v2 #user-create > .create-your-account,
.join-v2 #user-login > .create-your-account,
.join-v2__pay-head h2 {
  order: 0;
  display: block;
  width: 100%;
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-black);
  text-align: center;
  text-transform: none;
}

.join-v2 #user-create > .sign-in,
.join-v2 #user-login > .sign-in {
  order: 1;
  justify-content: center;
  margin: 0 0 20px;
  padding: 0;
  font-size: 15px;
  text-align: center;
  color: var(--join-muted);
}

.join-v2 .sign-in a,
.join-v2 .switch-user-form {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: underline;
  text-transform: none;
  cursor: pointer;
}

.join-v2 span.login-info {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-black);
}

.join-v2 input.login-info,
.join-v2 #payment input[type="tel"],
.join-v2 #payment input[type="text"],
.join-v2 #payment select,
.join-v2 #promo-code input {
  width: 100%;
  max-width: 100%;
  height: 48px;
  margin: 0 0 16px;
  padding: 0 14px;
  border: 1px solid var(--join-line) !important;
  border-radius: 8px;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  box-shadow: none;
}

.join-v2 input.login-info:focus,
.join-v2 #payment input:focus,
.join-v2 #payment select:focus,
.join-v2 #promo-code input:focus {
  border-color: var(--color-black) !important;
  outline: 0;
}

.join-v2 .password {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.join-v2 .password img {
  position: absolute;
  top: 42px;
  right: 14px;
  margin: 0;
}

.join-v2 .mid-sized-button {
  display: block;
  width: 100%;
  margin: 8px 0 0;
}

.join-v2 .form-button {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--color-black);
  border-radius: 60px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
}

.join-v2 .form-button:hover {
  background: rgba(0, 0, 0, .8);
}

.join-v2 .form-button.disabled,
.join-v2 .form-button:disabled {
  border-color: var(--color-grey);
  background: var(--color-grey);
  color: var(--join-muted) !important;
  cursor: not-allowed;
}

/* ---- Payment ---- */
.join-v2__pay-head {
  margin-bottom: 20px;
  text-align: center;
}

.join-v2__pay-head p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--join-muted);
}

.join-v2 #payment,
.join-v2 #pay_form_inputs,
.join-v2 #payment .form-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

.join-v2 #payment .small-inputs {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.join-v2 #payment .small-inputs > * {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.join-v2 #payment .cvv {
  position: relative;
}

.join-v2 #payment .cvv img {
  position: absolute;
  top: 12px;
  right: 12px;
}

.join-v2 #payment .sandwich {
  width: 100%;
  max-width: 100%;
  margin: 8px 0 20px;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--join-muted);
}

.join-v2 #payment .truemed-blurb {
  margin-top: 12px;
}

.join-v2 .pay-hint {
  margin: 10px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--join-muted);
}

/* ---- Promo ---- */
.join-v2 details.join-v2__promo {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  text-align: center;
  color: var(--join-muted);
}

.join-v2__promo summary {
  cursor: pointer;
  text-decoration: underline;
}

.join-v2__promo #promo-code {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.join-v2__promo #promo-code input {
  flex: 1;
  margin: 0;
}

.join-v2__promo #promo-message {
  margin: 8px 0 0;
}

/* ---- Order and columns ----
   Phones: plan, details, form. Wizard finishers already answered the questions,
   so their form comes straight after the plan. Desktop: plan and details on the
   left, form on the right. */
.join-v2__checkout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  order: 2;
  width: 100%;
  min-width: 0;
}

.join-v2__details {
  display: flex;
  flex-direction: column;
  order: 1;
  min-width: 0;
}

.join-v2--wizard .join-v2__checkout,
.join-v2--promo .join-v2__checkout {
  order: 1;
}

.join-v2--wizard .join-v2__details,
.join-v2--promo .join-v2__details {
  order: 2;
}

/* Promo codes: the offer's own hero as a card on the streak, and a clear sign
   the code worked, right by the price. */
.join-v2__hero {
  display: block;
  margin: 0 0 24px;
}

.join-v2__hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.join-v2 .join-v2__applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--color-white);
}

.join-v2__applied b {
  padding: 4px 8px;
  background: var(--join-highlight);
  color: var(--color-black);
  font-family: var(--font-body-extended);
  font-weight: var(--fw-semibold);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.join-v2__applied--error b {
  background: var(--color-blood-orange);
}

.join-v2 .join-v2__applied a {
  color: var(--color-white);
  text-decoration: underline;
  cursor: pointer;
}

.join-v2__message {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--join-muted);
  overflow-wrap: anywhere;
}

.join-v2__message img {
  max-width: 100%;
  height: auto;
}

.join-v2 .idme-block {
  width: 100%;
  margin: 0;
  padding: 28px 20px;
  border: 1px solid var(--join-line);
  border-radius: 10px;
  background: var(--color-white);
  text-align: center;
}

.join-v2 .idme-block .Welcome-to-My-Fitness {
  margin: 0 0 16px !important;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  color: var(--color-black);
}

.join-v2 .idme-block img {
  max-width: 100%;
  height: auto;
}

.join-v2__details .join-v2__heading {
  margin-top: 36px;
}

.join-v2__details > :first-child .join-v2__heading,
.join-v2__details > :first-child > :not([hidden]) .join-v2__heading {
  margin-top: 8px;
}

/* Wizard finishers: their answers and a review first, then the terms. */
.join-v2--wizard .join-v2__answers { order: 1; }
.join-v2--wizard .join-v2__review { order: 2; margin-top: 24px; }
.join-v2--wizard .join-v2__how { order: 3; }
.join-v2--wizard .join-v2__what { order: 4; }

/* On phones, the echo of their answers and the review stay above the form; the
   terms follow it. */
@media (max-width: 899px) {
  .join-v2--wizard .join-v2__details { display: contents; }
  .join-v2--wizard .join-v2__answers,
  .join-v2--wizard .join-v2__review,
  .join-v2--wizard .join-v2__how,
  .join-v2--wizard .join-v2__what { width: 100%; }
  .join-v2--wizard .join-v2__answers { order: 1; }
  .join-v2--wizard .join-v2__review { order: 2; margin-top: 0; }
  .join-v2--wizard .join-v2__checkout { order: 3; }
  .join-v2--wizard .join-v2__how { order: 4; }
  .join-v2--wizard .join-v2__what { order: 5; margin-top: -32px; }
  .join-v2--wizard .join-v2__answers .join-v2__heading,
  .join-v2--wizard .join-v2__how [data-plan-panel] .join-v2__heading { margin-top: 8px; }
}

.join-v2__answers dl {
  margin: 12px 0 0;
  border-top: 1px solid var(--join-line);
}

.join-v2__answers dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--join-line);
}

.join-v2__answers dt {
  font-weight: 400;
  font-size: 15px;
  color: var(--join-muted);
}

.join-v2__answers dd {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  text-align: right;
  color: var(--color-black);
}

.join-v2__devices {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--join-muted);
}

.join-v2__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.join-v2__stores img {
  display: block;
  width: auto;
  height: 36px;
}

.join-v2 #subscriptions.join-v2__terms--single {
  display: none;
}

/* The no-card week has no form to fill; the hidden one still submits. */
.join-v2--nocard .login-block,
.join-v2--nocard .pay-form {
  display: none !important;
}

.join-v2__start {
  padding: 28px 20px;
  border: 1px solid var(--join-line);
  border-radius: 10px;
  background: var(--color-white);
  text-align: center;
}

.join-v2__start h2 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-black);
  text-transform: none;
}

.join-v2__start p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--join-muted);
}

.join-v2__start p.join-v2__consent {
  margin: 12px 0 0;
  font-size: 13px;
}

.join-v2__start a {
  color: var(--color-black);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .join-v2 .choose-plan-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 16px;
    align-items: start;
    padding: 48px 32px 80px;
  }

  .join-v2 .plan-options {
    grid-column: 1;
    grid-row: 1;
  }

  .join-v2__details {
    grid-column: 1;
    grid-row: 2;
    margin-top: 28px;
  }

  .join-v2__checkout {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .join-v2 .login-block,
  .join-v2 .pay-form,
  .join-v2__start {
    padding: 40px 44px;
  }

  .join-v2 #addendum-spacer {
    display: none;
  }

  .join-v2__title {
    font-size: 48px;
  }

  .join-v2__card-title {
    font-size: 26px;
    white-space: normal;
  }

  .join-v2__card-today strong {
    font-size: 36px;
  }
}

/* Wizard finishers are on a path we built: no HSA/FSA detour (LOL-404). */
.join-v2--wizard .truemed-blurb {
  display: none !important;
}

/* Same quiet link as "Log in", not the older orange capitals. */
.join-v2 #payment p.sign-in {
  justify-content: flex-start;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--join-muted);
}

.join-v2 #payment #no-postal {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: underline;
  text-transform: none;
  cursor: pointer;
}

/* Payment tiles. The older "on" images have a pink frame baked in, so the
   picked tile uses copies cropped inside it, with the frame drawn here. */
.join-v2 #payment-options {
  display: flex;
  gap: 8px;
  width: 100%;
  margin: 0 0 20px;
}

.join-v2 #payment-options > div {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  height: 52px !important;
  margin: 0;
  border: 1px solid var(--join-line);
  border-radius: 8px;
  background-color: var(--color-white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain !important;
  cursor: pointer;
}

.join-v2 #payment-options > div[style*="-on.png"] {
  border: 2px solid var(--join-frame);
}

.join-v2 #credit-card-select[style*="-on.png"] {
  background-image: url(../images/join-v2/credit-card-on.png) !important;
}

.join-v2 #paypal-select[style*="-on.png"] {
  background-image: url(../images/join-v2/paypal-on.png) !important;
}

.join-v2 #apple-pay-select[style*="-on.png"] {
  background-image: url(../images/join-v2/apple-pay-on.png) !important;
}

.join-v2 #payment a {
  color: var(--color-black);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .join-v2 #subscriptions.join-v2__terms::before,
  .join-v2 .join-v2__term > span:not(.join-v2__badge) {
    transition: none;
  }
}

/* The flagged Terms box says this, right where the action is. */
.join-v2 #terms-check-apple,
.join-v2 #terms-check-paypal {
  display: none !important;
}

/* ---- Terms box, on every /join ---- */
/* Drawn here, so the browser's own blue never shows. */
#outer-container input[type="checkbox"] {
  flex: none;
  box-sizing: border-box;
  display: inline-block !important;
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--color-black, #111);
  border-radius: 3px;
  background: var(--color-white, #fff) center / 14px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  vertical-align: text-bottom;
  cursor: pointer;
}

#outer-container input[type="checkbox"]:checked {
  background-color: var(--color-black, #111);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5 5.8 10 11 4.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#outer-container input[type="checkbox"]:focus {
  outline: 2px solid var(--color-black, #111) !important;
  outline-offset: 2px;
}

#legal-terms-optin.terms-error {
  margin: 0 -10px 8px;
  padding: 10px;
  border: 2px solid var(--color-blood-orange, #ff5e00);
  border-radius: 8px;
  background: #fff4ed;
}

#outer-container #legal-terms-optin.terms-error input[type="checkbox"] {
  border-color: var(--color-blood-orange, #ff5e00);
  outline: 2px solid var(--color-blood-orange, #ff5e00) !important;
  outline-offset: 2px;
}

.terms-error__message {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  /* Black: the cart-badge orange is too light for small text. */
  color: var(--color-black, #111);
}

/* ---- Embedded in the Fitbox storefront (chrome-less) ----
   The theme frames embedded pages in a capped white card with a shadow. This
   page runs edge to edge, so the banner meets the nav and both sides. */
/* The chrome-less theme leaves 20px above the content. */
.page-wrap.chromeless:has(.join-v2) .after-nav {
  margin-top: -20px;
}

.page-wrap.chromeless:has(.join-v2) .content-main,
.page-wrap.chromeless:has(.join-v2) #content-inside-wrapper {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--join-surface, #f5f5f5);
  box-shadow: none;
}

.page-wrap.chromeless:has(.join-v2)::after {
  display: none;
}

/* Offer copy comes from old CMS content with its own colours and sizes. */
.join-v2__message * {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  background: transparent !important;
}

.join-v2__message h1,
.join-v2__message h2,
.join-v2__message h3,
.join-v2__message h4 {
  margin: 0 0 8px;
  color: var(--color-black) !important;
  font-weight: 600;
}

.join-v2__message p {
  margin: 0 0 10px;
}

/* The ID.me box only shows when the code needs verifying; the script shows it.
   Until then it, and the old coral button, must never flash on the page. */
.join-v2 #idme-block {
  display: none;
}

.join-v2--verify #idme-block {
  display: block;
}

.join-v2--verify #login-block,
.join-v2--verify #pay-form {
  display: none;
}

.idme-block a {
  display: inline-block;
  border-radius: 30px;
}

.idme-block .idme-button {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

.idme-block .idme-button--hover,
.idme-block a:hover .idme-button:not(.idme-button--hover),
.idme-block a:focus-visible .idme-button:not(.idme-button--hover) {
  display: none;
}

.idme-block a:hover .idme-button--hover,
.idme-block a:focus-visible .idme-button--hover {
  display: block;
}
