html.as-shift-credit-checkout-open,
html.as-shift-credit-checkout-open body {
  overflow: hidden !important;
}

html.as-site-custom-cursor.as-shift-credit-checkout-open,
html.as-site-custom-cursor.as-shift-credit-checkout-open body,
html.as-site-custom-cursor.as-shift-credit-checkout-open body * {
  cursor: auto !important;
}

html.as-site-custom-cursor.as-shift-credit-checkout-open .as-shift-credit-checkout a,
html.as-site-custom-cursor.as-shift-credit-checkout-open .as-shift-credit-checkout button,
html.as-site-custom-cursor.as-shift-credit-checkout-open .as-shift-credit-checkout label {
  cursor: pointer !important;
}

html.as-shift-credit-checkout-open .as-site-cursor-ring {
  opacity: 0 !important;
}

.as-shift-credit-checkout {
  --as-checkout-ink: #34241e;
  --as-checkout-caramel: #b47757;
  --as-checkout-paper: #fbf8f3;
  --as-checkout-line: rgba(79, 54, 43, 0.18);
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  justify-items: end;
  color: var(--as-checkout-ink);
}

.as-shift-credit-checkout-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(38, 25, 20, 0.48);
  backdrop-filter: blur(3px);
  cursor: default;
  animation: as-checkout-fade 180ms ease-out both;
}

.as-shift-credit-checkout-sheet {
  position: relative;
  width: min(760px, 92vw);
  height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 100% 0, rgba(202, 154, 126, 0.18), transparent 33%),
    var(--as-checkout-paper);
  box-shadow: -20px 0 55px rgba(42, 28, 22, 0.22);
  animation: as-checkout-slide 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.as-shift-credit-checkout-sheet > header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px 20px;
  border-bottom: 1px solid var(--as-checkout-line);
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(12px);
}

.as-shift-credit-checkout-sheet > header span {
  display: block;
  margin: 0 0 3px;
  color: var(--as-checkout-caramel);
  font: 700 11px/1.2 Inter, sans-serif;
  letter-spacing: 0.18em;
}

.as-shift-credit-checkout-sheet > header h2 {
  margin: 0;
  color: var(--as-checkout-ink);
  font: 600 clamp(22px, 3vw, 30px)/1.15 Inter, sans-serif;
  letter-spacing: -0.025em;
}

.as-shift-credit-checkout-close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--as-checkout-line);
  border-radius: 50%;
  background: #fff;
  color: var(--as-checkout-ink);
  cursor: pointer;
}

.as-shift-credit-checkout-close:focus-visible {
  outline: 2px solid rgba(180, 119, 87, 0.72);
  outline-offset: 3px;
}

.as-shift-credit-checkout-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.as-shift-credit-checkout-intro {
  padding: 22px 30px 0;
}

.as-shift-credit-checkout-intro p {
  max-width: 620px;
  margin: 0;
  color: rgba(52, 36, 30, 0.76);
  font: 400 15px/1.55 Inter, sans-serif;
}

.as-shift-credit-checkout-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 18px 30px 8px;
  padding: 11px 14px;
  border: 1px solid var(--as-checkout-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  font: 500 13px/1.35 Inter, sans-serif;
}

.as-shift-credit-checkout[data-as-checkout-state="loading"] .as-shift-credit-checkout-status {
  justify-content: center;
  min-height: 132px;
  padding: 22px;
  border: 0;
  background: transparent;
  text-align: center;
}

.as-shift-credit-checkout[data-as-checkout-state="ready"] .as-shift-credit-checkout-status {
  display: none;
}

.as-shift-credit-checkout-status div {
  display: grid;
  gap: 2px;
}

.as-shift-credit-checkout-status span:not(.as-shift-credit-checkout-spinner) {
  color: rgba(52, 36, 30, 0.7);
  font-weight: 400;
}

.as-shift-credit-checkout-status a {
  color: var(--as-checkout-caramel);
  text-decoration: underline;
}

.as-shift-credit-checkout-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(180, 119, 87, 0.25);
  border-top-color: var(--as-checkout-caramel);
  border-radius: 50%;
  animation: as-checkout-spin 750ms linear infinite;
}

.as-shift-credit-checkout-loader {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  isolation: isolate;
}

.as-shift-credit-checkout-loader::before {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(180, 119, 87, 0.2);
  border-top-color: var(--as-checkout-caramel);
  border-radius: inherit;
  animation: as-checkout-spin 900ms linear infinite;
  backface-visibility: hidden;
  content: "";
  transform: translateZ(0);
  will-change: transform;
}

.as-shift-credit-checkout-loader > svg {
  display: block;
  width: 23px;
  height: auto;
  fill: var(--as-checkout-caramel);
  shape-rendering: geometricPrecision;
}

.as-shift-credit-checkout[data-as-checkout-state="loading"] .as-shift-credit-checkout-status > div {
  gap: 4px;
}

.as-shift-credit-checkout[data-as-checkout-state="complete"] .as-shift-credit-checkout-status {
  border-color: rgba(180, 119, 87, 0.42);
  background: rgba(226, 202, 186, 0.35);
}

.as-shift-credit-checkout[data-as-checkout-state="complete"] .as-shift-credit-checkout-status > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--as-checkout-caramel);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.as-shift-credit-checkout-body {
  min-height: 360px;
  padding: 0 16px 24px;
}

.as-shift-credit-checkout-frame {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 520px !important;
  border: 0 !important;
}

.as-activate-native-checkout-prewarm {
  position: fixed !important;
  top: 0 !important;
  left: -200vw !important;
  z-index: -1 !important;
  display: block !important;
  width: 720px !important;
  height: 900px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.as-activate-native-checkout-parking {
  position: fixed !important;
  top: 0 !important;
  left: -300vw !important;
  z-index: -1 !important;
  display: block !important;
  width: 720px !important;
  height: 900px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@keyframes as-checkout-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes as-checkout-slide {
  from { opacity: 0.85; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@media (max-width: 639px) {
  .as-shift-credit-checkout-sheet {
    width: 100vw;
  }

  .as-shift-credit-checkout-sheet > header {
    padding: 17px 18px 15px;
  }

  .as-shift-credit-checkout-intro {
    padding: 17px 18px 0;
  }

  .as-shift-credit-checkout-status {
    margin: 14px 18px 6px;
  }

  .as-shift-credit-checkout-body {
    padding-inline: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .as-shift-credit-checkout-backdrop,
  .as-shift-credit-checkout-sheet,
  .as-shift-credit-checkout-spinner {
    animation-duration: 1ms !important;
  }

  .as-shift-credit-checkout-loader,
  .as-shift-credit-checkout-loader::before {
    animation-duration: 1ms !important;
  }
}
