* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: #fff;
}
.content {
  margin-top: 1.4rem;
  padding: 0.4rem 0.2rem 0.2rem;
  max-width: 5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0.04rem 0.06rem rgba(0, 0, 0, 0.1),
    /* 主阴影 */ 0 0.01rem 0.93rem rgba(0, 0, 0, 0.06); /* 次阴影 */
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 0.64rem;
  height: 0.88rem;
  width: 100%;
}
.backIcon {
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.64rem;
  height: 0.64rem;
}

.navTop {
  display: flex;
  align-items: center;
  font-size: 0.3rem;
  color: #05aab6;
  line-height: 0.4rem;
}
.navTop img {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.01rem;
}

.navBottom {
  display: flex;
  align-items: center;
  font-size: 0.24rem;
  line-height: 0.3rem;
}

.orange {
  color: #f2751c;
  margin-left: 0.1rem;
}
.container {
  padding: 0 0.42rem;
  box-sizing: border-box;
}
.price {
  font-family: Inter;
  font-size: 0.64rem;
  font-weight: 500;
  margin: 0.3rem 0 0.57rem;
  line-height: 0.77rem;
  text-align: left;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.title {
  display: flex;
  align-items: center;
  font-family: Inter;
  font-size: 0.25rem;
  font-weight: 500;
  line-height: 0.3rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.title img {
  width: 0.53rem;
  height: 0.36rem;
  margin-right: 0.3rem;
}

.des {
  font-family: Inter;
  font-size: 0.24rem;
  font-weight: 700;
  line-height: 0.3rem;
  margin: 0.12rem 0 0.25rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #0066f5;
}

.checkout-card-container {
  width: 100%;
  min-height: 2.7rem;
}

.checkout-card-container button[type="submit"],
.checkout-card-container [data-testid="pay-button"] {
  display: none !important;
}

/* From Uiverse.io by Custyyyy */
.sumbit {
  position: fixed;
  bottom: 1.5rem;
  left: 0.4rem;
  right: 0.4rem;
  height: 0.8rem;
  align-items: center;
  background-color: #ffffff;
  border-radius: 1.63rem;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  border: none;
  display: inline-flex;
  font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  font-size: 0.24rem;
  font-weight: 800;
  justify-content: center;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  background-color: #000000;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
}

.sumbit:hover,
.sumbit:focus {
  background-color: #000000;
}

.sumbit:hover {
  transform: translateY(-0.01rem);
}

.sumbit:active {
  opacity: 0.7;
  border-color: rgba(0, 0, 0, 0.15);

  transform: translateY(0);
}

.sumbit:disabled {
  cursor: not-allowed;
  background-color: #ced3d9;
}

#error-container {
  display: flex;
  font-size: 0.24rem;
  margin-top: 0.82rem;
  justify-content: center;
  align-items: center;
  color: #ff4931;
}

#error-container img {
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.1rem;
}

.mask {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  backdrop-filter: blur(0.04rem);
  top: 0;
  left: 0;
}

.mask .mask-loading {
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* .mask .mask-loading img {
  width: 100%;
  animation: loading 1s linear infinite;
} */

/* From Uiverse.io by abrahamcalsin */
.dot-spinner {
  --uib-size: 1rem;
  --uib-speed: 0.9s;
  --uib-color: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--uib-size);
  width: var(--uib-size);
}

.dot-spinner__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
}

.dot-spinner__dot::before {
  content: "";
  height: 20%;
  width: 20%;
  border-radius: 50%;
  background-color: var(--uib-color);
  transform: scale(0);
  opacity: 0.5;
  animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
  box-shadow: 0 0 0.2rem rgba(18, 31, 53, 0.3);
}

.dot-spinner__dot:nth-child(2) {
  transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
  animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
  transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
  animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
  transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
  animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
  transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
  animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
  transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
  animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
  transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
  animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
  transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
  animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes pulse0112 {
  0%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}
