dialog.cl-checkout-intent-v1 {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  margin: auto;
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: var(--surface, #fff);
  color: var(--ink, #102342);
}
dialog.cl-checkout-intent-v1::backdrop { background: rgb(10 24 48 / .63); }
dialog.cl-checkout-intent-v1 > button:first-child {
  margin: 0 0 .8rem;
  padding: .45rem .7rem;
  border: 1px solid currentColor;
  border-radius: .45rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
dialog.cl-checkout-intent-v1 h2:focus { outline: none; }
html:has(dialog.cl-checkout-intent-v1[open]) { overflow: hidden; }
dialog.cl-checkout-intent-v1 { padding: 1.5rem; }
dialog.cl-checkout-intent-v1 > .checkout-modal-close {
  position: absolute; top: .65rem; right: .65rem; border: 0;
  font-size: 1.4rem; min-width: 44px; min-height: 44px;
}
.checkout-modal-price { font-size: 1.65rem; font-weight: 750; }
.checkout-modal-primary {
  display: inline-block; padding: .7rem 1rem; border-radius: .6rem;
  background: #2054d7; color: #fff; font-weight: 700; text-decoration: none;
}
.checkout-modal-change {
  padding: .5rem 0; border: 0; background: transparent;
  color: inherit; text-decoration: underline; font: inherit; cursor: pointer;
}
dialog .checkout-modal-price {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .3rem;
  line-height: 1.15;
}
dialog .checkout-modal-price strong { font-size: clamp(2.25rem, 7vw, 3rem); }
dialog .checkout-modal-price > span {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  font-weight: 650;
}
dialog .checkout-modal-price small { flex-basis: 100%; font-size: .85rem; font-weight: 500; }
dialog.cl-checkout-intent-v1 a.checkout-modal-primary { color: #fff !important; }
dialog.cl-checkout-intent-v1 > .checkout-modal-close:focus:not(:focus-visible) { outline: none; }
dialog.cl-checkout-intent-v1 > .checkout-modal-close:focus-visible { outline-offset: 2px; }
