.checkout-page {
  width: 100%;
  max-width: var(--mobile-max-width);
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    calc(var(--safe-top) + 12px)
    clamp(14px, 4vw, 18px)
    calc(var(--safe-bottom) + 12px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 230, 237, 0.35), transparent 33%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 100%);
  overflow-x: hidden;
}

.checkout-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.checkout-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-align: left;
}

.checkout-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.checkout-brand-text {
  display: flex;
  flex-direction: column;
  color: var(--color-navy);
  font-size: 13px;
  line-height: 1.02;
  font-weight: 900;
}

.checkout-secure {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  text-align: left;
  color: #666a7e;
}

.checkout-secure-icon {
  display: inline-flex;
  margin-top: 1px;
  color: var(--color-navy);
}

.checkout-secure-icon svg {
  width: 15px;
  height: 15px;
}

.checkout-secure-text {
  display: grid;
  gap: 1px;
}

.checkout-secure-text strong {
  color: #606579;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.checkout-secure-text span {
  color: #8a8fa1;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 550;
}

.checkout-steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ba0b4;
}

.checkout-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f6;
  color: #8c92a7;
  font-size: 13px;
  font-weight: 900;
}

.checkout-step-label {
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.checkout-step-active {
  color: var(--color-navy);
}

.checkout-step-active .checkout-step-circle {
  background: var(--color-navy);
  color: #ffffff;
}

.checkout-step-line {
  height: 1px;
  background: #e6e8ef;
}

.checkout-content {
  margin-top: 15px;
  display: grid;
  gap: 9px;
}

.checkout-product-card {
  min-height: 118px;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(236, 236, 242, 0.96);
  box-shadow: 0 13px 28px rgba(7, 20, 63, 0.075);
}

.checkout-product-cover-wrap {
  display: grid;
  place-items: center;
}

.checkout-product-cover {
  width: 78px;
  height: 96px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(7, 20, 63, 0.18));
}

.checkout-product-title {
  color: var(--color-navy);
  font-size: 16px;
  line-height: 1.13;
  font-weight: 900;
}

.checkout-product-meta {
  margin-top: 4px;
  color: #7b8094;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 650;
}

.checkout-product-meta span {
  margin: 0 4px;
}

.checkout-price-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-old-price {
  position: relative;
  color: #9094a6;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
}

.checkout-old-price::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 2px;
  border-radius: 99px;
  background: #f25578;
  transform: rotate(-10deg);
}

.checkout-new-price {
  color: #f25578;
  font-family: var(--font-title);
  font-size: 34px;
  line-height: 0.86;
  letter-spacing: -1px;
  font-weight: 900;
}

.checkout-price-pill {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff0f3;
  color: #f25578;
  font-size: 9.6px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-benefits-inline {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  color: #666b80;
  font-size: 10.2px;
  line-height: 1;
  font-weight: 760;
}

.checkout-benefits-inline span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.checkout-benefits-inline svg {
  width: 14px;
  height: 14px;
}

.express-checkout-section {
  display: grid;
  gap: 8px;
}

.express-checkout-section h2 {
  text-align: center;
  color: var(--color-navy);
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.express-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.express-pay-btn,
.paypal-large-btn {
  width: 100%;
  min-height: 45px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.express-pay-btn:active,
.paypal-large-btn:active,
.checkout-complete-btn:active {
  transform: scale(0.985);
}

.express-pay-btn.is-selected,
.paypal-large-btn.is-selected {
  border-color: rgba(255, 47, 117, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 47, 117, 0.11);
}

.express-pay-btn-apple {
  background: #000000;
  border: 1px solid #000000;
}

.express-pay-btn-apple img {
  width: 82px;
  height: 30px;
  object-fit: contain;
}

.express-pay-btn-gpay {
  background: #ffffff;
  border: 1px solid #dce0ec;
}

.express-pay-btn-gpay img {
  width: 96px;
  height: 30px;
  object-fit: contain;
}

.paypal-large-btn {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #dce0ec;
}

.paypal-large-btn img {
  width: 116px;
  height: 32px;
  object-fit: contain;
}

.checkout-or-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--color-navy);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 950;
}

.checkout-or-divider span {
  height: 1px;
  background: #e5e7ef;
}

.checkout-card-box {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(236, 236, 242, 0.96);
  display: grid;
  gap: 9px;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-card-header h2 {
  color: var(--color-navy);
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.checkout-card-logos {
  display: flex;
  align-items: center;
  gap: 5px;
}

.checkout-card-logos img {
  width: 35px;
  height: 23px;
  object-fit: contain;
}

.payment-form {
  display: grid;
  gap: 8px;
}

.checkout-label {
  display: grid;
  gap: 5px;
}

.checkout-label > span {
  color: var(--color-navy);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.checkout-label input,
.input-with-icon,
.billing-address-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #dfe2ec;
  background: #ffffff;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 560;
}

.checkout-label input {
  padding: 0 12px;
}

.checkout-label input::placeholder {
  color: #a3a8ba;
}

.input-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
}

.input-with-icon input {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  flex: 1;
}

.input-icon {
  display: inline-flex;
  color: #888fa5;
}

.input-icon svg {
  width: 18px;
  height: 18px;
}

.input-with-help {
  position: relative;
}

.input-help {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f5fb;
  color: #8b91a6;
  font-size: 12px;
  font-weight: 950;
}

.checkout-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.billing-address-btn {
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-navy);
}

.billing-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.billing-icon {
  display: inline-flex;
  color: #697087;
}

.billing-icon svg {
  width: 18px;
  height: 18px;
}

.billing-left span:last-child {
  font-size: 13px;
  font-weight: 900;
}

.billing-left small {
  margin-left: 3px;
  color: #8a90a5;
  font-size: 10.5px;
  font-weight: 750;
}

.billing-chevron {
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1;
  transition: transform 160ms ease;
}

.billing-address-btn.is-open .billing-chevron {
  transform: rotate(180deg);
}

.billing-panel {
  display: none;
  gap: 8px;
}

.billing-panel.is-open {
  display: grid;
}



/* FINAL CTA */

.checkout-complete-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 15px;
  border: none;

  background: linear-gradient(135deg, #ff4f54 0%, #ff2f75 48%, #ff824e 100%);
  color: #ffffff;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;

  padding: 0 16px;

  font-size: 14px;
  font-weight: 900;
  box-shadow:
    0 14px 26px rgba(255, 74, 115, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.checkout-complete-btn:active {
  transform: scale(0.985);
}

.checkout-complete-btn .complete-lock {
  width: 24px;
  height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.checkout-complete-btn svg {
  width: 16px;
  height: 16px;
}

.checkout-complete-btn strong {
  min-width: 0;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.1;
  font-weight: 900;
}

.checkout-complete-btn em {
  padding: 6px 9px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;

  font-size: 12px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.checkout-complete-btn.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.checkout-complete-btn.is-loading strong {
  font-size: 0;
}

.checkout-complete-btn.is-loading strong::after {
  content: "Processing secure payment...";
  font-size: 14px;
}

/* TRUST STRIP UNDER CTA */

.checkout-trust-afterpay {
  min-height: 50px;
  padding: 8px 10px;

  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;

  border-radius: 14px;
  border: 1px solid #e9edf4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 252, 0.98));

  box-shadow: 0 8px 20px rgba(7, 20, 63, 0.04);
}

.afterpay-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  color: var(--color-navy);
}

.afterpay-trust-item > span {
  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f4f7fb;
  color: #0b1c5f;

  flex-shrink: 0;
  font-size: 12px;
}

.afterpay-trust-item svg {
  width: 14px;
  height: 14px;
}

.afterpay-trust-item p {
  color: #333a58;
  font-size: 9.6px;
  line-height: 1.12;
  font-weight: 850;
}

.afterpay-trust-divider {
  width: 1px;
  height: 28px;
  background: #e4e7ef;
}

/* TERMS */

.checkout-terms {
  max-width: 350px;
  margin: 0 auto;
  padding: 2px 4px 0;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;

  text-align: left;
  color: #777d91;

  font-size: 10.8px;
  line-height: 1.45;
  font-weight: 560;
}

.checkout-terms .terms-lock {
  width: 17px;
  height: 17px;
  margin-top: 1px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #8b91a6;
  flex-shrink: 0;
}

.checkout-terms .terms-lock svg {
  width: 14px;
  height: 14px;
}

.checkout-terms a {
  color: #2f70d8;
  text-decoration: none;
  font-weight: 800;
}

.checkout-terms a:active {
  opacity: 0.75;
}

@media (max-width: 414px) and (max-height: 880px) {
  .checkout-page {
    padding-left: 13px;
    padding-right: 13px;
  }

  .checkout-steps {
    margin-top: 13px;
  }

  .checkout-content {
    margin-top: 13px;
    gap: 8px;
  }

  .checkout-product-card {
    grid-template-columns: 76px 1fr;
    min-height: 106px;
    padding: 10px;
  }

  .checkout-product-cover {
    width: 68px;
    height: 86px;
  }

  .checkout-product-title {
    font-size: 14.2px;
  }

  .checkout-product-meta {
    font-size: 11px;
  }

  .checkout-new-price {
    font-size: 30px;
  }

  .checkout-price-pill {
    font-size: 8.6px;
  }

  .checkout-benefits-inline {
    font-size: 9.3px;
  }

  .express-pay-btn,
  .paypal-large-btn {
    min-height: 42px;
  }

  .checkout-label input,
  .input-with-icon,
  .billing-address-btn {
    min-height: 40px;
  }

  .checkout-complete-btn {
    min-height: 48px;
    font-size: 13px;
  }
}

@media (max-width: 374px), (max-height: 760px) {
  .checkout-product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .checkout-product-cover {
    margin: 0 auto;
  }

  .checkout-price-row,
  .checkout-benefits-inline {
    justify-content: center;
  }

  .checkout-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Course payment product cover */

.course-payment-product-card {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 47, 117, 0.07), transparent 36%),
    rgba(255, 255, 255, 0.98);
}

.course-payment-cover {
  width: 78px;
  height: 102px;
  padding: 12px 7px;

  border-radius: 4px 9px 9px 4px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 7px, transparent 7px),
    linear-gradient(135deg, #081743 0%, #142766 100%);

  box-shadow:
    0 11px 18px rgba(7, 20, 63, 0.2),
    inset -6px 0 10px rgba(255, 255, 255, 0.08);
}

.course-payment-cover p {
  color: #ffffff;
  font-family: var(--font-title);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.1;
}

.course-payment-cover img {
  width: 22px;
  height: 22px;
  margin-top: 8px;
}

/* STRIPE REAL PAYMENT ELEMENTS */

.stripe-wallet-section {
  padding: 13px;
}

.stripe-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.stripe-section-title-row h2 {
  margin: 0;
}

.stripe-section-title-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #61677d;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.stripe-express-element {
  min-height: 46px;
}

.stripe-express-element.is-empty {
  display: none;
}

.stripe-card-box {
  padding-bottom: 14px;
}

.stripe-payment-element {
  margin-top: 12px;
}

.stripe-helper-text {
  margin-top: 9px;
  text-align: center;
  color: #777d91;
  font-size: 10.8px;
  line-height: 1.35;
  font-weight: 650;
}

.stripe-loading-box {
  min-height: 46px;
  border-radius: 13px;
  border: 1px dashed #e2e6ef;
  background: #fbfcff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #777d91;
  font-size: 11.5px;
  font-weight: 750;
}

.stripe-spinner {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #e2e6ef;
  border-top-color: #ff3d7d;
  animation: stripeSpin 0.75s linear infinite;
}

.stripe-payment-message {
  display: none;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #fff1f2;
  color: #be123c;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 750;
}

.stripe-payment-message.is-visible {
  display: block;
}

@keyframes stripeSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 374px), (max-height: 760px) {
  .stripe-section-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .stripe-section-title-row span {
    font-size: 9.5px;
  }
}

/* COMPACT STRIPE CHECKOUT */

.checkout-page-compact {
  padding-bottom: calc(var(--safe-bottom) + 118px);
}

.compact-checkout-topbar {
  margin-bottom: 10px;
}

.compact-checkout-steps {
  margin-bottom: 12px;
}

.compact-checkout-content {
  gap: 9px;
}

.checkout-product-card-compact {
  min-height: 118px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
}

.checkout-product-card-compact .checkout-product-cover-wrap {
  width: 76px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-product-card-compact .checkout-product-cover {
  width: 68px;
  height: 82px;
  object-fit: contain;
}

.checkout-product-card-compact .checkout-product-title {
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 7px;
}

.checkout-product-card-compact .checkout-price-row {
  gap: 7px;
  margin-bottom: 7px;
}

.checkout-product-card-compact .checkout-old-price {
  font-size: 14px;
}

.checkout-product-card-compact .checkout-new-price {
  font-size: 32px;
  line-height: 1;
}

.checkout-product-card-compact .checkout-price-pill {
  padding: 6px 8px;
  font-size: 9.5px;
}

.checkout-product-card-compact .checkout-benefits-inline {
  gap: 8px;
  font-size: 10px;
}

.compact-wallet-section {
  padding: 11px 12px;
}

.compact-title-row {
  margin-bottom: 8px;
}

.compact-title-row h2 {
  font-size: 18px;
  line-height: 1;
}

.compact-title-row span {
  padding: 5px 8px;
  font-size: 10px;
}

.compact-loading-box {
  min-height: 44px;
}

.compact-express-element {
  min-height: 44px;
}

.compact-express-element.is-empty {
  display: none;
}

.compact-helper-text {
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.25;
}

.compact-or-divider {
  margin: 2px 0;
}

.compact-card-box {
  padding: 12px;
}

.compact-card-header {
  margin-bottom: 11px;
}

.compact-card-header h2 {
  font-size: 18px;
}

.compact-card-form {
  display: grid;
  gap: 9px;
}

.compact-card-label {
  display: grid;
  gap: 5px;
}

.compact-card-label span {
  color: var(--color-navy);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 900;
}

.compact-stripe-field,
.compact-card-label input {
  width: 100%;
  min-height: 45px;
  border-radius: 13px;
  border: 1px solid #e4e7ef;
  background: #ffffff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(7, 20, 63, 0.035);
}

.compact-card-label input::placeholder {
  color: #a3a8ba;
}

.compact-card-label input:focus {
  outline: none;
  border-color: #ff3d7d;
  box-shadow: 0 0 0 3px rgba(255, 61, 125, 0.12);
}

.compact-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.compact-card-row-user {
  grid-template-columns: 1.1fr 0.9fr;
}

.stripe-payment-message {
  display: none;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #fff1f2;
  color: #be123c;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 750;
}

.stripe-payment-message.is-visible {
  display: block;
}

.checkout-fixed-cta {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 8px);
  z-index: 60;

  width: min(calc(100% - 28px), calc(var(--mobile-max-width) - 28px));
  transform: translateX(-50%);

  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(236, 236, 242, 0.95);
  box-shadow:
    0 -10px 30px rgba(7, 20, 63, 0.08),
    0 12px 30px rgba(7, 20, 63, 0.1);

  backdrop-filter: blur(14px);
}

.compact-complete-btn {
  min-height: 50px;
}

.compact-trust-row {
  margin-top: 8px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #51576f;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.compact-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.compact-trust-row svg {
  width: 13px;
  height: 13px;
}

.compact-trust-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8dce8;
}

.compact-terms {
  margin-top: 7px;
  text-align: center;
  color: #777d91;
  font-size: 9.7px;
  line-height: 1.25;
  font-weight: 600;
}

.compact-terms a {
  color: #2f70d8;
  font-weight: 850;
}

.stripe-spinner {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #e2e6ef;
  border-top-color: #ff3d7d;
  animation: stripeSpin 0.75s linear infinite;
}

@keyframes stripeSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 414px) and (max-height: 880px) {
  .checkout-page-compact {
    padding-left: 13px;
    padding-right: 13px;
    padding-bottom: calc(var(--safe-bottom) + 112px);
  }

  .checkout-product-card-compact {
    min-height: 104px;
    grid-template-columns: 66px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .checkout-product-card-compact .checkout-product-cover-wrap {
    width: 64px;
    height: 76px;
  }

  .checkout-product-card-compact .checkout-product-cover {
    width: 58px;
    height: 70px;
  }

  .checkout-product-card-compact .checkout-product-title {
    font-size: 14.5px;
  }

  .checkout-product-card-compact .checkout-new-price {
    font-size: 28px;
  }

  .compact-wallet-section,
  .compact-card-box {
    padding: 10px;
  }

  .compact-card-form {
    gap: 8px;
  }

  .compact-stripe-field,
  .compact-card-label input {
    min-height: 43px;
  }

  .compact-complete-btn {
    min-height: 48px;
  }
}

@media (max-width: 374px), (max-height: 760px) {
  .compact-checkout-steps {
    display: none;
  }

  .checkout-product-card-compact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .checkout-product-card-compact .checkout-product-cover-wrap {
    display: none;
  }

  .compact-card-row-user {
    grid-template-columns: 1fr;
  }

  .compact-trust-row {
    font-size: 9px;
    gap: 5px;
  }

  .compact-terms {
    display: none;
  }
}