/* Apple Pay — add card via Wallet (Figma Horizontal_Section 136:3946); mirrors bt-how-section */

.apple-pay-how-section {
  scroll-margin-top: calc(var(--navbar-height) + 12px);
}

.apple-pay-how-section .split-section__title {
  font-weight: 700;
  line-height: 1.08;
}

.apple-pay-how-section .split-section__body,
.apple-pay-how-section .apple-pay-how__step-final {
  font-size: var(--font-button);
  line-height: 1.5;
}

.apple-pay-how-section .split-section__body ol.apple-pay-how__steps {
  margin: 0.15em 0 0;
  padding-inline-start: 1.75em;
  list-style-type: decimal;
  list-style-position: outside;
}

.apple-pay-how-section .split-section__body ol.apple-pay-how__steps > li {
  margin: 0 0 0.35em;
  padding-inline-start: 0.15em;
}

.apple-pay-how-section .split-section__body ol.apple-pay-how__steps > li:last-child {
  margin-bottom: 0;
}

.apple-pay-how-section .apple-pay-how__step-final {
  margin: 0;
  width: 100%;
  color: var(--color-black);
  text-align: right;
}

.apple-pay-how-section .apple-pay-how__cta.hero__cta-primary .hero__action-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .apple-pay-how-section .split-section__body,
  .apple-pay-how-section .apple-pay-how__step-final {
    font-size: var(--font-body);
  }
}

@media (max-width: 768px) {
  .apple-pay-how-section .split-section__content {
    align-items: flex-start;
    text-align: right;
  }

  .apple-pay-how-section .split-section__title,
  .apple-pay-how-section .split-section__body,
  .apple-pay-how-section .apple-pay-how__step-final {
    text-align: right;
  }

  .apple-pay-how-section .split-section__actions {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .apple-pay-how-section .apple-pay-how__cta {
    width: auto;
    max-width: max-content;
    align-self: flex-start;
    flex: 0 0 auto;
  }
}
