.checkout-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 4rem;
  align-items: start;

  @media (max-width: 900px) {
    grid-template-columns: 1fr;

    .checkout-page__cart-col {
      order: 1;
    }

    .checkout-page__stepper-col {
      order: 2;
    }
  }

  &__stepper-col {
    min-width: 0;
    border-radius: 4px;
    min-height: 420px;
  }

  &__cart-col {
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  &__mobile-countdown {
    flex: 0 0 auto;
    margin-bottom: 1.5rem;
    color: var(--tenant-primary);
    font-weight: 700;
    white-space: nowrap;
  }

  &__mobile-countdown-label {
    font-size: 13px;
  }

  &__mobile-countdown-value {
    font-size: 20px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
}

.checkout-page__loading {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 1rem;
  color: #666666;
}

.checkout-page__spinner {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid var(--border-color);
  border-top-color: var(--tenant-primary);
  border-radius: 50%;
  animation: checkout-page-spin 0.8s linear infinite;
}

@keyframes checkout-page-spin {
  to {
    transform: rotate(360deg);
  }
}
