.display-md {
  letter-spacing: -0.28px;
}

@media screen and (max-width: 1024px) {
  .display-md {
    font-size: 28px;
    font-weight: 700;
    line-height: 30.8px;
    letter-spacing: -0.56px;
  }
}

.checkout-media__wrapper {
  position: relative;
}

@media screen and (max-width: 480px) {
  .os-card__badge-inline-text {
    line-height: 14px;
  }

  .icons-grids {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    justify-content: center;
    justify-items: center;
  }

  .icons-grids .icon-image {
    width: 153px;
  }
}

.checkout-review__image {
  display: block;
  width: 100%;
  height: 164px;
  object-fit: cover;
}

@media screen and (max-width: 500px) {
  .checkout-review__image {
    height: 220px;
  }
}

.checkout-review__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0.875rem 1.5rem;
}

.checkout-media__badge {
  position: absolute;
  z-index: 2;
}

.checkout-media__badge--sold-out {
  top: 4%;
  right: 0;
  width: 126px;
  height: auto;
}

.checkout-media__badge--price-drop {
  bottom: 22%;
  right: 4%;
  width: 65px;
  transform: translateY(-50%);
}

.checkout-media__badge--guarantee {
  bottom: 5%;
  right: 4%;
  height: 96px;
  width: auto;
}

.bump-section-header {
  margin-bottom: 32px;
}

.bump-section-header__title {
  font-family: var(--_text---font-family--heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 21.6px;
  letter-spacing: -0.18px;
  color: #000;
  margin: 0 0 8px;
}

.bump-section-header__subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: normal;
  color: #000;
  margin: 0;
}

.bump-section-header__subtitle strong {
  font-weight: 700;
}

@media (max-width: 1024px) {
  .checkout-media__badge--guarantee {
    bottom: 0%;
    right: 4%;
  }
}

@media (max-width: 767px) {
  .checkout-review__content {
    padding: 1rem 1rem 1.5rem;
  }
}

/* ===========================
   Bundle selector — card design
   =========================== */

/* Uses the SDK's own radio-style-2 component (campaign-cart.css) — themed via
   --radio-color and scaled up to Figma's 24px size, instead of re-implementing
   the radio look. Selectors are deliberately more specific than anything the
   SDK ships (max 3 simple selectors) so these always win regardless of when
   the SDK's CSS is injected relative to this stylesheet. */
[data-next-selector-id="main"] .os-card .radio-style-2 {
  width: 24px !important;
  height: 24px !important;
}

[data-next-selector-id="main"] .os-card:not(.next-selected) .radio-style-2 {
  background-color: #f6f6f6;
  border-color: #919191;
}

[data-next-selector-id="main"] .os-card.next-selected .radio-style-2 {
  border-width: 7px !important;
  box-shadow: 0 0 0 1.6px var(--radio-color, #000) !important;
}

[data-next-selector-id="main"] .os-card.next-selected .radio-style-2 .radio-inner {
  width: 8px !important;
  height: 8px !important;
}

[data-next-selector-id="main"] .os-card {
  border-radius: 8px;
  border: 1px solid #bbb;
  box-shadow: none;
}

[data-next-selector-id="main"] .os-card.next-selected {
  background-color: #eef8d5;
  border-color: #000;
  box-shadow: 0 0 0 2px #000;
}

.os-card__subtitle-text--discount {
  color: var(--system-colors--warning);
  font-weight: 700;
}

.os-card__badge-inline {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size--sm);
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.os-card__badge-inline .card-icons {
  width: 13px;
  height: 13px;
  flex: none;
}

.os-card__badge-inline--popular {
  color: var(--brand--color--pill-primary);
}

.os-card__badge-inline--best {
  color: var(--brand--color--pill-secondary);
}

/* ===========================
   Cart summary — order totals
   =========================== */

.order-totals {
  font-size: var(--font-size--base);
  letter-spacing: -0.28px;
}

@media (max-width: 991px) {
  .order-totals {
    font-size: var(--font-size--sm);
  }
}

.order-totals__line.order-totals__line--total {
  font-size: var(--font-size--base);
}

.checkout__line-item__final-price {
  font-weight: 400;
}

.order-totals__section--bordered {
  border-top: 1px solid #ececec;
  margin: 0;
  padding-top: 0.5rem;
}

.order-totals__value.ts-lg.tw-700.cc-disc {
  color: var(--system-colors--warning);
}

.popular-item-resume {
  font-family: "Poppins", sans-serif;
  font-size: var(--font-size--base);
  line-height: 16px;
  letter-spacing: -0.28px;
  color: #000;
}

/* ===========================
   Typography QA pass — checkout
   =========================== */

.checkout__checkbox {
  font-size: 14px;
  font-weight: 500;
}

.checkout-header__brand {
  line-height: 1.3;
}

.checkout-header__logo {
  width: 95px;
  height: auto;
  filter: invert(1);
}

.sub-head-text {
  font-size: 15px;
  line-height: 18px;
}

.step-label {
  font-family: "Inter", sans-serif;
}

.form-section__subtitle {
  font-size: 14px;
}

.os-card__title {
  letter-spacing: -0.42px;
}

@media screen and (max-width: 767px) {
  .checkout-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .checkout-header__brand {
    gap: 6px;
  }

  .checkout-header__logo {
    width: 85px;
  }

  .mg-section.tablet-spacer {
    gap: 4px;
  }

  .questions-text {
    padding-left: 0.25rem;
    font-size: 0.75rem;
  }

  @media screen and (max-width: 370px) {
    .questions-text {
      font-size: 0.625rem;
    }
  }

  .os-card__title {
    font-size: 1rem;
    line-height: 21px;
  }

  .text-reg.text-warning {
    font-family: "Inter", sans-serif;
  }
}

[data-next-bundle-id="bundle-1x"] .os-card__price.os--current,
[data-next-bundle-id="bundle-2x"] .os-card__price.os--current,
[data-next-bundle-id="bundle-3x"] .os-card__price.os--current {
  letter-spacing: -0.42px;
}

[data-next-bundle-id="bundle-1x"] .os-card__price-ea {
  font-size: 14px;
  font-weight: 600;
  line-height: 16.8px;
}

[data-next-bundle-id="bundle-2x"] .os-card__price-ea,
[data-next-bundle-id="bundle-3x"] .os-card__price-ea {
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
}

/* ===========================
   UGC video testimonial section
   =========================== */

.ugc-video-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.ugc-video-section__heading {
  width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 44px;
  letter-spacing: -0.28px;
  text-align: center;
  color: #000;
}

.ugc-video-section__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

.ugc-video-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   Checkout step progress tracker (mobile/tablet, ≤991px)
   Figma: node 1975:3202 — replaces .checkout-progress at this breakpoint,
   tracks bundle selector / shipping / payment / order-summary sections and
   stays fixed to the top while scrolling.
   =========================== */

.checkout-progress-tracker {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 15;
}

.checkout-progress-tracker__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 20px 16px;
}

.checkout-progress-tracker__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}

.checkout-progress-tracker__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ccc;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.28px;
  color: #fff;
}

.checkout-progress-tracker__label {
  margin-top: 4.5px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.28px;
  color: #c9c9c9;
  white-space: nowrap;
}

.checkout-progress-tracker__step.is-active .checkout-progress-tracker__circle,
.checkout-progress-tracker__step.is-complete .checkout-progress-tracker__circle {
  background-color: #000;
}

.checkout-progress-tracker__step.is-active .checkout-progress-tracker__label,
.checkout-progress-tracker__step.is-complete .checkout-progress-tracker__label {
  color: #000;
}

.checkout-progress-tracker__line {
  flex: 0 0 auto;
  width: 10%;
  min-width: 40px;
  height: 2px;
  margin-top: 9px;
  background-color: #ccc;
}

.checkout-progress-tracker__line.is-complete {
  background-color: #000;
}
