/* Isolated Tilda popup. Subscription SVGs are loaded as separate image assets. */
.iw-checkout, .iw-checkout * { box-sizing: border-box; }
.iw-checkout {
  --iw-orange: #ff5014; --iw-purple: #5d00d2; --iw-accent: var(--iw-orange); --iw-accent-soft: #fff3ed;
  --iw-ink: #202024; --iw-muted: #6c6b72; --iw-line: #e9e8ec; --iw-surface: #f7f7f8;
  position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 24px;
  color: var(--iw-ink); font: 400 15px/1.45 "Wix Madefor Display", Arial, sans-serif; text-align: left;
}
.iw-checkout [data-theme="night"] { --iw-accent: var(--iw-purple); --iw-accent-soft: #f4effc; }
.iw-checkout button, .iw-checkout input { font: inherit; }
.iw-checkout__backdrop { position: absolute; inset: 0; background: #18151e99; backdrop-filter: blur(5px); animation: iw-checkout-fade 160ms ease-out; }
.iw-checkout__dialog {
  position: relative; width: min(100%, 560px); max-height: calc(100dvh - 48px); overflow: auto;
  overscroll-behavior: contain; border-radius: 24px; background: #fff;
  box-shadow: 0 24px 80px #10091b33; animation: iw-checkout-enter 180ms ease-out;
}
.iw-checkout__topbar { display: flex; align-items: center; gap: 20px; padding: 20px 24px 0 32px; }
.iw-checkout__close { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--iw-muted); cursor: pointer; }
.iw-checkout__close:hover { background: var(--iw-surface); color: var(--iw-ink); }
.iw-checkout svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iw-checkout__preview-label { position: fixed; top: 10px; left: 12px; color: #fff; font-size: 11px; opacity: .9; }
.iw-checkout__steps { display: flex; flex: 1; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.iw-checkout__steps li { display: flex; gap: 7px; align-items: center; color: #929097; white-space: nowrap; }
.iw-checkout__steps li > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #dedce2; border-radius: 50%; font-size: 11px; font-weight: 600; }
.iw-checkout__steps small { font-size: 12px; font-weight: 500; }
.iw-checkout__steps .is-active { color: var(--iw-ink); }
.iw-checkout__steps .is-active > span { border-color: var(--iw-accent); background: var(--iw-accent); color: white; }
.iw-checkout__steps .is-active small { font-weight: 700; }
.iw-checkout__steps .is-done > span { border-color: transparent; background: var(--iw-accent-soft); color: var(--iw-accent); }
.iw-checkout__steps svg { width: 13px; height: 13px; }
.iw-checkout__content { padding: 24px 32px 32px; }
.iw-checkout__header { margin: 0 0 24px; }
.iw-checkout h2 { margin: 0; color: var(--iw-ink); font: 700 28px/1.15 "Wix Madefor Display", Arial, sans-serif; letter-spacing: -.035em; outline: none; }
.iw-checkout__header p { margin: 12px 0 0; color: var(--iw-muted); font-size: 15px; line-height: 1.5; }
.iw-checkout__summary { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 14px; margin: 0 0 24px; padding: 18px; border-radius: 16px; background: var(--iw-surface); }
.iw-checkout__plan-icon { display: block; width: 40px; height: 40px; object-fit: contain; }
.iw-checkout__plan-copy { min-width: 0; }
.iw-checkout__plan-copy > strong { display: block; color: var(--iw-ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.iw-checkout__plan-copy > small { display: block; margin-top: 5px; color: var(--iw-muted); font-size: 13px; line-height: 1.45; }
.iw-checkout__price { margin-top: 12px; font-variant-numeric: tabular-nums; }
.iw-checkout__price b { color: var(--iw-ink); font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.iw-checkout__price span { color: var(--iw-muted); font-size: 13px; }
.iw-checkout__summary--review { margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--iw-line); border-radius: 0; background: transparent; }
.iw-checkout__form { display: grid; gap: 20px; }
.iw-checkout__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.iw-checkout__field { display: block; min-width: 0; margin: 0; }
.iw-checkout__field--wide { grid-column: 1 / -1; }
.iw-checkout__field > span { display: block; margin: 0 0 8px; color: var(--iw-ink); font-size: 14px; font-weight: 600; }
.iw-checkout__field input { display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; border: 1px solid #d8d6dd; border-radius: 10px; outline: none; background: white; color: var(--iw-ink); font-size: 16px; transition: border-color 120ms, box-shadow 120ms; }
.iw-checkout__field input::placeholder { color: #96929d; opacity: 1; }
.iw-checkout__field input:focus { border-color: var(--iw-accent); box-shadow: 0 0 0 3px var(--iw-accent-soft); }
.iw-checkout__field input[aria-invalid="true"] { border-color: #b83232; }
.iw-checkout__field-note { display: block; margin-top: 7px; color: var(--iw-muted); font-size: 12px; line-height: 1.4; }
.iw-checkout__consents { display: grid; gap: 14px; }
.iw-checkout__consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; cursor: pointer; }
.iw-checkout__consent input { appearance: auto; accent-color: var(--iw-accent); width: 19px; height: 19px; margin: 1px 0 0; cursor: pointer; }
.iw-checkout__consent span { color: var(--iw-muted); font-size: 13px; line-height: 1.5; }
.iw-checkout__consent a { color: var(--iw-ink); text-decoration: underline; text-underline-offset: 3px; }
.iw-checkout__error { display: block; margin-top: 7px; color: #b83232; font-size: 12px; line-height: 1.4; }
.iw-checkout__notice, .iw-checkout__payment-error, .iw-checkout__demo-notice { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff4e3; color: #795417; font-size: 13px; line-height: 1.5; }
.iw-checkout__primary, .iw-checkout__secondary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 14px 18px; border: 0; border-radius: 12px; text-align: center; font: 600 16px/1.4 "Wix Madefor Display", Arial, sans-serif; text-decoration: none; cursor: pointer; }
.iw-checkout__primary { background: var(--iw-accent); color: #fff; transition: filter 120ms; }
.iw-checkout__primary:hover { filter: brightness(.94); }
.iw-checkout__primary:disabled { cursor: not-allowed; opacity: .65; }
.iw-checkout__primary > .iw-checkout__spinner { border-color: #ffffff66; border-top-color: white; }
.iw-checkout__primary svg { width: 18px; height: 18px; }
.iw-checkout__secondary { color: var(--iw-muted); background: transparent; font-size: 14px; }
.iw-checkout__secondary:hover { background: var(--iw-surface); color: var(--iw-ink); }
.iw-checkout button:focus-visible, .iw-checkout a:focus-visible, .iw-checkout input[type="checkbox"]:focus-visible { outline: 3px solid var(--iw-accent); outline-offset: 3px; }
.iw-checkout__actions { display: grid; gap: 4px; }
.iw-checkout__confirmation { display: grid; gap: 24px; }
.iw-checkout__section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.iw-checkout__section-heading h3 { margin: 0; color: var(--iw-ink); font: 600 14px/1.4 "Wix Madefor Display", Arial, sans-serif; }
.iw-checkout__edit { flex-shrink: 0; min-height: 32px; margin: -6px -6px -6px 0; padding: 6px; border: 0; border-radius: 6px; background: transparent; color: var(--iw-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.iw-checkout__edit:hover { color: var(--iw-ink); }
.iw-checkout__edit:disabled { opacity: .6; cursor: wait; }
.iw-checkout__details { display: grid; gap: 13px; margin: 0; }
.iw-checkout__details > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.iw-checkout__details dt { color: var(--iw-muted); font-size: 14px; }
.iw-checkout__details dd { min-width: 0; margin: 0; color: var(--iw-ink); font-size: 14px; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.iw-checkout__details .iw-checkout__plate { font-weight: 600; letter-spacing: .03em; }
.iw-checkout__payment-panel { display: grid; gap: 18px; margin: 0 -32px -32px; padding: 24px 32px; border-top: 1px solid var(--iw-line); background: var(--iw-surface); }
.iw-checkout__billing > div { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.iw-checkout__billing span { color: var(--iw-ink); font-size: 16px; font-weight: 600; }
.iw-checkout__billing small { display: block; margin-top: 3px; color: var(--iw-muted); font-size: 12px; font-weight: 400; }
.iw-checkout__billing strong { color: var(--iw-ink); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.iw-checkout__billing p { margin: 16px 0 0; color: var(--iw-muted); font-size: 13px; line-height: 1.5; }
.iw-checkout__payment-actions { display: grid; gap: 12px; }
.iw-checkout__footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--iw-muted); font-size: 12px; text-align: center; }
.iw-checkout__footnote svg { width: 13px; height: 13px; }
.iw-checkout__payment-error { background: #ffeded; color: #a02d2d; }
.iw-checkout__status { padding: 4px 0 0; }
.iw-checkout__status > .iw-checkout__secondary { margin-top: 24px; }
.iw-checkout__status-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--iw-surface); color: var(--iw-muted); }
.iw-checkout__status-icon svg { width: 24px; height: 24px; }
.iw-checkout__status-icon.is-orange { background: #fff3ed; color: #bd471a; }
.iw-checkout__checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.iw-checkout__checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 14px; min-height: 76px; padding: 18px 0; border-bottom: 1px solid var(--iw-line); color: #8e8b93; }
.iw-checkout__checklist li:first-child { padding-top: 8px; min-height: 66px; }
.iw-checkout__checklist li > span { display: grid; place-items: center; width: 26px; height: 24px; }
.iw-checkout__checklist strong { display: block; font-size: 15px; line-height: 24px; font-weight: 500; }
.iw-checkout__checklist p { margin: 4px 0 0; color: var(--iw-muted); font-size: 13px; line-height: 1.5; }
.iw-checkout__checklist .is-active { color: var(--iw-ink); }
.iw-checkout__checklist .is-active strong { font-weight: 600; }
.iw-checkout__checklist .is-done { color: var(--iw-ink); }
.iw-checkout__checklist .is-done > span { color: var(--iw-accent); }
.iw-checkout__pending { display: block; width: 7px; height: 7px; border-radius: 50%; background: #d8d5dd; }
.iw-checkout__spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #ddd9e1; border-top-color: var(--iw-accent); border-radius: 50%; animation: iw-checkout-spin 700ms linear infinite; }
@keyframes iw-checkout-fade { from { opacity: 0; } }
@keyframes iw-checkout-enter { from { opacity: 0; transform: translateY(8px); } }
@keyframes iw-checkout-spin { to { transform: rotate(360deg); } }
@media (max-width: 620px) {
  .iw-checkout { align-items: end; padding: 0; }
  .iw-checkout__dialog { width: 100%; max-height: calc(100dvh - 28px); border-radius: 22px 22px 0 0; }
  .iw-checkout__topbar { padding: 16px 14px 0 20px; gap: 8px; }
  .iw-checkout__steps { gap: 12px; }
  .iw-checkout__steps li { gap: 6px; }
  .iw-checkout__steps small { font-size: 12px; }
  .iw-checkout__content { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .iw-checkout h2 { font-size: 27px; }
  .iw-checkout__summary { padding: 16px; }
  .iw-checkout__summary--review { padding: 0 0 22px; }
  .iw-checkout__plan-copy > strong { font-size: 16px; }
  .iw-checkout__fields { grid-template-columns: 1fr; gap: 18px; }
  .iw-checkout__details > div { grid-template-columns: 98px minmax(0, 1fr); gap: 10px; }
  .iw-checkout__payment-panel { margin: 0 -20px calc(-24px - env(safe-area-inset-bottom)); padding: 24px 20px calc(22px + env(safe-area-inset-bottom)); }
  .iw-checkout__billing strong { font-size: 29px; }
}
@media (max-width: 359px) {
  .iw-checkout__topbar { padding-left: 16px; padding-right: 10px; }
  .iw-checkout__content { padding-left: 16px; padding-right: 16px; }
  .iw-checkout__steps { gap: 8px; }
  .iw-checkout__steps li { gap: 4px; }
  .iw-checkout__steps small { font-size: 11px; }
  .iw-checkout__plan-icon { width: 32px; height: 32px; }
  .iw-checkout__summary { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .iw-checkout__summary--review { padding: 0 0 22px; }
  .iw-checkout__payment-panel { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .iw-checkout *, .iw-checkout *::before, .iw-checkout *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
