.iptvore-purchase {
  --ipo-purple: #6543d6;
  --ipo-ink: #17213a;
  --ipo-muted: #526078;
  box-sizing: border-box;
  position: fixed;
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #e8e4f3;
  border-radius: 22px;
  background: #fff;
  color: var(--ipo-ink);
  box-shadow: 0 24px 100px #09062255;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: light;
}
.iptvore-purchase:not([open]) { display: none; }
.iptvore-purchase::backdrop { background: #090b1bc4; backdrop-filter: blur(4px); }
.iptvore-purchase *, .iptvore-purchase *::before, .iptvore-purchase *::after { box-sizing: border-box; }
.iptvore-purchase [hidden] { display: none !important; }
.iptvore-purchase__content { padding: 25px 28px 24px; }
.iptvore-purchase__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.iptvore-purchase__brand { color: var(--ipo-purple); font-weight: 800; font-size: 13px; letter-spacing: .16em; }
.iptvore-purchase button { font-family: inherit; text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: none; }
.iptvore-purchase__close {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px;
  width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: #f1eff8; color: var(--ipo-ink); font-size: 28px; font-weight: 400; line-height: 1;
}
.iptvore-purchase__close:hover { background: #e7e1f7; color: var(--ipo-ink); }
.iptvore-purchase .iptvore-purchase__title { margin: 10px 0 19px; color: var(--ipo-ink); font-size: clamp(24px, 5vw, 30px); font-weight: 750; line-height: 1.2; }
.iptvore-purchase__plan { padding: 15px 18px; border: 1px solid #dfd6fb; border-radius: 13px; background: #f5f2ff; }
.iptvore-purchase__plan-label { display: block; color: #645780; font-size: 12px; font-weight: 650; }
.iptvore-purchase__plan-name { display: block; margin: 3px 0 0; color: #30214f; font-size: 19px; font-weight: 750; }
.iptvore-purchase__plan-meta { display: block; color: #564772; font-size: 15px; font-weight: 500; }
.iptvore-purchase__back, .iptvore-purchase__text-button {
  min-height: 40px; width: auto; padding: 8px 0; border: 0; border-radius: 3px;
  background: transparent; color: var(--ipo-purple); font-size: 14px; font-weight: 650; line-height: 1.4;
}
.iptvore-purchase__back { margin: 9px 0 -6px; }
.iptvore-purchase__back:hover, .iptvore-purchase__text-button:hover { color: #43269f; background: transparent; text-decoration: underline; }
.iptvore-purchase .iptvore-purchase__step-title { margin: 22px 0 15px; color: var(--ipo-ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.iptvore-purchase__step-title:focus { outline: none; }
.iptvore-purchase__choice {
  display: flex; align-items: center; gap: 13px; width: 100%; min-height: 82px;
  margin: 10px 0 0; padding: 14px 16px; border: 1px solid #dce0e9; border-radius: 12px;
  background: #fff; color: var(--ipo-ink); text-align: left; text-decoration: none; line-height: 1.35;
  transition: border-color .15s ease, background .15s ease;
}
.iptvore-purchase__choice:hover { border-color: #9479e1; background: #faf8ff; color: var(--ipo-ink); text-decoration: none; }
.iptvore-purchase__choice-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; color: var(--ipo-purple); background: #f1ecff; font-size: 23px; font-weight: 500; }
.iptvore-purchase__choice[data-whatsapp] .iptvore-purchase__choice-icon { color: #14783b; background: #eaf8ed; }
.iptvore-purchase__choice[data-whatsapp] { border-color: #b7dcc6; }
.iptvore-purchase__choice-words > .iptvore-purchase__speed { display: inline-flex; align-items: center; margin-top: 8px; padding: 4px 8px; border-radius: 6px; background: #e8f6ed; color: #17623b; font-size: 12px; font-weight: 750; line-height: 1.4; }
.iptvore-purchase .iptvore-purchase__phone-label { margin-top: 18px; }
.iptvore-purchase__choice-words { display: block; flex: 1 1 auto; min-width: 0; }
.iptvore-purchase__choice-words strong { display: block; color: var(--ipo-ink); font-size: 16px; font-weight: 700; }
.iptvore-purchase__choice-words > span { display: block; margin-top: 4px; color: var(--ipo-muted); font-size: 13px; font-weight: 400; }
.iptvore-purchase__choice-arrow { color: #7c6d9d; font-size: 25px; }
.iptvore-purchase__form { margin: 0; }
.iptvore-purchase__label { display: block; margin: 0 0 5px; color: var(--ipo-ink); font-size: 14px; font-weight: 700; }
.iptvore-purchase .iptvore-purchase__help { margin: 0 0 12px; color: var(--ipo-muted); font-size: 13px; line-height: 1.6; }
.iptvore-purchase .iptvore-purchase__input {
  display: block; width: 100%; height: 50px; padding: 11px 13px; margin: 0;
  border: 1px solid #b8c0cf; border-radius: 9px; background: #fff; color: var(--ipo-ink);
  font-family: inherit; font-size: 16px; line-height: 1.5; box-shadow: none;
}
.iptvore-purchase__input::placeholder { color: #718096; }
.iptvore-purchase .iptvore-purchase__input[aria-invalid="true"] { border-color: #bd283d; }
.iptvore-purchase .iptvore-purchase__primary {
  display: block; width: 100%; min-height: 50px; padding: 13px 17px; margin: 17px 0 0;
  border: 1px solid var(--ipo-purple); border-radius: 10px; background: var(--ipo-purple);
  color: #fff; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.45;
}
.iptvore-purchase .iptvore-purchase__primary:hover { background: #5130bf; border-color: #5130bf; color: #fff; }
.iptvore-purchase button:disabled { opacity: .58; cursor: wait; }
.iptvore-purchase a[aria-disabled="true"] { opacity: .58; cursor: wait; }
.iptvore-purchase :is(button, a, input):focus-visible { outline: 3px solid #8d6bef; outline-offset: 3px; }
.iptvore-purchase__account { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 4px 12px; margin: 0 0 13px; background: #f4f5f8; border-radius: 9px; }
.iptvore-purchase__account > span { color: #46516a; font-size: 13px; overflow-wrap: anywhere; }
.iptvore-purchase__account button { flex: 0 0 auto; }
.iptvore-purchase .iptvore-purchase__channel-note { margin-top: 13px; font-size: 12px; }
.iptvore-purchase .iptvore-purchase__error { margin-top: 15px; padding: 11px 13px; color: #8d182a; background: #fff0f2; border: 1px solid #efc0c8; border-radius: 9px; font-size: 13px; }
.iptvore-purchase .iptvore-purchase__field-error { margin: 6px 0 0; color: #a52136; font-size: 13px; }
.iptvore-purchase__status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; color: var(--ipo-muted); font-size: 12px; }
.iptvore-purchase .iptvore-purchase__footnote { margin: 19px 0 0; padding-top: 16px; border-top: 1px solid #eceef3; color: #657188; font-size: 12px; line-height: 1.6; }
.iptvore-purchase__trap { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.iptvore-purchase__success-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 22px; border-radius: 50%; background: #e9f7ee; color: #187744; font-size: 25px; font-weight: 700; }
.iptvore-purchase__success-mark + .iptvore-purchase__step-title { margin-top: 12px; }
.iptvore-purchase .iptvore-purchase__receipt-copy { margin: 0 0 15px; color: #46516a; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.iptvore-purchase__reference { display: flex; flex-direction: column; gap: 2px; margin: 15px 0; padding: 12px 15px; border: 1px dashed #c2b1ea; border-radius: 9px; background: #faf8ff; }
.iptvore-purchase__reference span { color: var(--ipo-muted); font-size: 12px; }
.iptvore-purchase__reference strong { color: #4a2b97; font-size: 18px; letter-spacing: .03em; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .iptvore-purchase { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 17px; }
  .iptvore-purchase__content { padding: 19px 19px 20px; }
  .iptvore-purchase__choice { gap: 10px; padding: 13px 12px; }
  .iptvore-purchase__choice-icon { flex-basis: 35px; width: 35px; height: 35px; }
  .iptvore-purchase__choice-words strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .iptvore-purchase * { transition: none !important; } }

/* Shared modal colors match the existing subscription-page design on every page. */
.iptvore-purchase { --ipo-purple: #c3aaff; --ipo-ink: #f6f4ff; --ipo-muted: #b8bfd8; border-color: #51406e; background: #0d112b; color: #f6f4ff; box-shadow: 0 28px 100px #00000080; color-scheme: dark; }
.iptvore-purchase::backdrop { background: #00031cd9; }
.iptvore-purchase__close { background: #25203f; color: #f6f4ff; }
.iptvore-purchase__close:hover { background: #35294f; color: #fff; }
.iptvore-purchase__plan { border-color: #57416f; background: #181336; }
.iptvore-purchase__plan-label, .iptvore-purchase__plan-meta { color: #c5bfd8; }
.iptvore-purchase__plan-name { color: #f6f4ff; }
.iptvore-purchase__back:hover, .iptvore-purchase__text-button:hover { color: #e1d5ff; }
.iptvore-purchase__choice { border-color: #4a4264; background: #11142f; color: #f6f4ff; }
.iptvore-purchase__choice:hover { border-color: #9b7cda; background: #1c1839; color: #f6f4ff; }
.iptvore-purchase__choice-icon { color: #d9c5ff; background: #302047; }
.iptvore-purchase__choice[data-whatsapp] .iptvore-purchase__choice-icon { color: #8fe4b4; background: #102d23; }
.iptvore-purchase__choice-arrow { color: #c3aaff; }
.iptvore-purchase .iptvore-purchase__input { border-color: #847796; background: #060b23; color: #fff; }
.iptvore-purchase__input::placeholder { color: #a8b1cf; }
.iptvore-purchase .iptvore-purchase__input[aria-invalid="true"] { border-color: #f49dae; }
.iptvore-purchase .iptvore-purchase__primary { border-color: #8a6ae8; background: linear-gradient(110deg, #6546dd, #7748df); color: #fff; }
.iptvore-purchase .iptvore-purchase__primary:hover { border-color: #ae90f4; background: linear-gradient(110deg, #5b3ecb, #6b3ccb); color: #fff; }
.iptvore-purchase :is(button, a, input):focus-visible { outline-color: #cfbaff; }
.iptvore-purchase__account { background: #1b203b; }
.iptvore-purchase__account > span { color: #c5cce1; }
.iptvore-purchase .iptvore-purchase__channel-note { color: #b8bfd8; }
.iptvore-purchase .iptvore-purchase__error { color: #ffc4ce; background: #351423; border-color: #99556a; }
.iptvore-purchase .iptvore-purchase__field-error { color: #ffb9c6; }
.iptvore-purchase .iptvore-purchase__footnote { border-color: #33334e; color: #b8bfd8; }
.iptvore-purchase__success-mark { background: #102d23; color: #8fe4b4; }
.iptvore-purchase .iptvore-purchase__receipt-copy { color: #c5cce1; }
.iptvore-purchase__reference { border-color: #8e73bc; background: #181336; }
.iptvore-purchase__reference strong { color: #d9c5ff; }
.iptvore-purchase .iptvore-purchase__trial-note { padding: 9px 11px; border-left: 2px solid #a68aff; background: #211c3c; color: #d8c7ff; border-radius: 4px; }
.iptvore-purchase__support { margin-top: 20px; padding-top: 16px; border-top: 1px solid #33394f; }
.iptvore-purchase__support .iptvore-purchase__choice { min-height: 64px; padding: 10px 12px; }
.iptvore-purchase__support .iptvore-purchase__choice-words strong { font-size: 14px; }

.iptvore-purchase .iptvore-purchase__same-email { margin: 0 0 15px; padding: 10px 12px; border-radius: 8px; background: #211c3c; color: #d8c7ff; font-size: 14px; line-height: 1.6; }
.iptvore-purchase a.iptvore-purchase__primary { text-decoration: none; }



/* V4 extends the existing native purchase dialog. Load after purchase.css. */
.iptvore-purchase[data-v4="true"] {
  --ipo-purple: #c3aaff;
  --ipo-ink: #f6f4ff;
  --ipo-muted: #b8bfd8;
  --ipo-v4-surface: #11162f;
  --ipo-v4-surface-raised: #1b203b;
  --ipo-v4-surface-inset: #060b23;
  --ipo-v4-surface-hover: #1c1839;
  --ipo-v4-border: #41445f;
  --ipo-v4-border-strong: #847796;
  --ipo-v4-accent-surface: #181336;
  --ipo-v4-accent-border: #57416f;
  --ipo-v4-action: #6546dd;
  --ipo-v4-action-hover: #5b3ecb;
  --ipo-v4-action-border: #a28bf1;
  --ipo-v4-action-border-hover: #ae90f4;
  --ipo-v4-link-hover: #e1d5ff;
  --ipo-v4-on-action: #ffffff;
  --ipo-v4-focus: #cfbaff;
  --ipo-v4-info-surface: #211c3c;
  --ipo-v4-info-text: #d8c7ff;
  --ipo-v4-success-surface: #102d23;
  --ipo-v4-success-text: #8fe4b4;
  --ipo-v4-error-surface: #351423;
  --ipo-v4-error-text: #ffc4ce;
  --ipo-v4-error-border: #f49dae;
  width: min(548px, calc(100% - 32px));
  max-width: 548px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--ipo-v4-border);
  border-radius: 24px;
  background: #0d112b;
  color: var(--ipo-ink);
  box-shadow: 0 24px 80px #00000066, 0 4px 16px #00000033;
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
  color-scheme: dark;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 24px;
}

.iptvore-purchase[data-v4="true"]::backdrop {
  background: #00031cd9;
  backdrop-filter: blur(4px);
}

.iptvore-purchase[data-v4="true"] .iptvore-purchase__content { padding: 24px 28px 26px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__header { gap: 16px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__brand { font-size: .8125rem; letter-spacing: .14em; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__close {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  background: var(--ipo-v4-surface-raised);
  color: var(--ipo-ink);
  font-size: 1.75rem;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__title {
  margin: 12px 0 22px;
  color: var(--ipo-ink);
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}

/* These are real navigation stages, never a time estimate or percentage. */
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ipo-muted);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--ipo-v4-border-strong);
  border-radius: 50%;
  color: var(--ipo-muted);
  background: var(--ipo-v4-surface);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li[aria-current="step"] {
  color: var(--ipo-ink);
  font-weight: 700;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li[aria-current="step"] .iptvore-purchase__v4-step-number {
  border-color: var(--ipo-purple);
  background: var(--ipo-purple);
  color: var(--ipo-v4-surface-inset);
  font-weight: 700;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li:is([data-stage="done"], [data-complete="true"]) .iptvore-purchase__v4-step-number {
  border-color: var(--ipo-purple);
  color: var(--ipo-purple);
}

.iptvore-purchase[data-v4="true"] .iptvore-purchase__plan {
  padding: 16px 18px;
  border-color: var(--ipo-v4-accent-border);
  border-radius: 14px;
  background: var(--ipo-v4-accent-surface);
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__plan-label { color: var(--ipo-muted); font-size: .8125rem; font-weight: 500; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__plan-name {
  margin-top: 3px;
  color: var(--ipo-ink);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__plan-meta {
  margin-top: 2px;
  color: var(--ipo-muted);
  font-size: 1rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__back, .iptvore-purchase__text-button) {
  min-height: 44px;
  padding: 10px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ipo-purple);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: .2em;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__back { margin: 10px 0 -4px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__step-title {
  margin: 22px 0 12px;
  color: var(--ipo-ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
  scroll-margin-block: 24px;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice {
  gap: 12px;
  min-height: 88px;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid var(--ipo-v4-border-strong);
  border-radius: 12px;
  background: var(--ipo-v4-surface);
  color: var(--ipo-ink);
  text-align: start;
  line-height: 1.5;
  text-decoration: none;
  transition: none;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--ipo-v4-info-surface);
  color: var(--ipo-v4-info-text);
  font-size: 1.375rem;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice[data-whatsapp] { border-color: var(--ipo-v4-border-strong); }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice[data-whatsapp] .iptvore-purchase__choice-icon {
  background: var(--ipo-v4-success-surface);
  color: var(--ipo-v4-success-text);
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice-words strong { color: var(--ipo-ink); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice-words > span { margin-top: 3px; color: var(--ipo-muted); font-size: .875rem; font-weight: 400; line-height: 1.5; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__choice-arrow { flex: 0 0 auto; color: var(--ipo-purple); font-size: 1.5rem; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__label { margin-bottom: 6px; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__help, .iptvore-purchase__receipt-copy) {
  color: var(--ipo-muted);
  font-size: .875rem;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__help { margin: 0 0 12px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__receipt-copy { margin: 0 0 18px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__input {
  height: auto;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--ipo-v4-border-strong);
  border-radius: 10px;
  background: var(--ipo-v4-surface-inset);
  color: var(--ipo-ink);
  font-size: max(1rem, 16px);
  line-height: 1.5;
  caret-color: var(--ipo-purple);
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__input::placeholder { color: var(--ipo-muted); opacity: 1; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__input[aria-invalid="true"] { border-color: var(--ipo-v4-error-border); }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__primary {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 13px 18px;
  border: 1px solid var(--ipo-v4-action-border);
  border-radius: 11px;
  background: var(--ipo-v4-action);
  color: var(--ipo-v4-on-action);
  box-shadow: inset 0 1px 1px #ffffff18, 0 4px 16px #00000026;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  text-wrap: pretty;
  transition: none;
}
.iptvore-purchase[data-v4="true"] :is(button:disabled, a[aria-disabled="true"]) { opacity: .66; cursor: wait; }
.iptvore-purchase[data-v4="true"] :is(button, a, input, select, textarea):focus-visible { outline: 3px solid var(--ipo-v4-focus); outline-offset: 3px; }

/* The summary retains the full email, including long addresses. */
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary,
.iptvore-purchase[data-v4="true"] .iptvore-purchase__account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 16px 0;
  padding: 8px 14px;
  border: 1px solid var(--ipo-v4-border);
  border-radius: 10px;
  background: var(--ipo-v4-surface-raised);
  color: var(--ipo-ink);
  font-size: .875rem;
  line-height: 1.6;
}
.iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__v4-summary, .iptvore-purchase__account) > span { flex: 1 1 15ch; min-width: 0; color: var(--ipo-ink); overflow-wrap: anywhere; }
.iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__v4-summary, .iptvore-purchase__account) > button { flex: 0 0 auto; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary { margin: 12px 0 8px; padding: 0; border: 0; background: transparent; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary dl { width: 100%; margin: 4px 0; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary dl > div { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); gap: 12px; padding-block: 3px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary dt { color: var(--ipo-muted); font-weight: 400; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-summary dd { min-width: 0; margin: 0; color: var(--ipo-ink); overflow-wrap: anywhere; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-checking {
  margin-block: 18px;
  padding: 14px 16px;
  border-inline-start: 2px solid var(--ipo-purple);
  border-radius: 0 10px 10px 0;
  background: var(--ipo-v4-accent-surface);
  color: var(--ipo-ink);
  font-size: .9375rem;
  line-height: 1.6;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-support { margin-top: 20px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-support .iptvore-purchase__choice { min-height: 76px; padding: 12px 14px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-support .iptvore-purchase__choice-words strong { font-size: .9375rem; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-support .iptvore-purchase__choice-words > span { font-size: .8125rem; }
.iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__same-email, .iptvore-purchase__trial-note) {
  margin: 16px 0;
  padding: 11px 13px;
  border: 0;
  border-inline-start: 2px solid var(--ipo-purple);
  border-radius: 0 8px 8px 0;
  background: var(--ipo-v4-info-surface);
  color: var(--ipo-v4-info-text);
  font-size: .875rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.iptvore-purchase[data-v4="true"] .iptvore-purchase__same-email { margin: 8px 0 16px; padding: 0; border: 0; background: transparent; color: var(--ipo-muted); }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-payment + .iptvore-purchase__help { margin-top: 18px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__status { gap: 4px 12px; margin-top: 16px; color: var(--ipo-muted); font-size: .8125rem; line-height: 1.6; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__channel-note { margin-top: 14px; font-size: .8125rem; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__error { margin-top: 16px; padding: 12px 14px; border-color: var(--ipo-v4-error-border); border-radius: 10px; background: var(--ipo-v4-error-surface); color: var(--ipo-v4-error-text); font-size: .875rem; line-height: 1.6; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__field-error { margin-top: 8px; color: var(--ipo-v4-error-text); font-size: .875rem; line-height: 1.5; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__footnote { margin-top: 22px; padding-top: 16px; border-color: var(--ipo-v4-border); color: var(--ipo-muted); font-size: .8125rem; line-height: 1.6; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__success-mark { width: 44px; height: 44px; margin-top: 22px; background: var(--ipo-v4-success-surface); color: var(--ipo-v4-success-text); }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__success-mark + .iptvore-purchase__step-title { margin-top: 12px; }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__reference { border-color: var(--ipo-purple); border-radius: 10px; background: var(--ipo-v4-accent-surface); }
.iptvore-purchase[data-v4="true"] .iptvore-purchase__reference strong { color: var(--ipo-v4-info-text); font-size: 1.125rem; font-variant-numeric: tabular-nums; }

@media (hover: hover) {
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__close:hover { background: var(--ipo-v4-info-surface); color: var(--ipo-ink); }
  .iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__back, .iptvore-purchase__text-button):hover { background: transparent; color: var(--ipo-v4-link-hover); }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__choice:hover { border-color: var(--ipo-purple); background: var(--ipo-v4-surface-hover); color: var(--ipo-ink); text-decoration: none; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__primary:hover { border-color: var(--ipo-v4-action-border-hover); background: var(--ipo-v4-action-hover); color: var(--ipo-v4-on-action); }
}
@media (prefers-reduced-motion: no-preference) {
  .iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__choice, .iptvore-purchase__close, .iptvore-purchase__primary) { transition: background-color 150ms ease-out, border-color 150ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .iptvore-purchase[data-v4="true"],
  .iptvore-purchase[data-v4="true"] *,
  .iptvore-purchase[data-v4="true"] *::before,
  .iptvore-purchase[data-v4="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 560px) {
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 2px 16px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__plan-label { grid-column: 1 / -1; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__plan-meta { text-align: end; }
}
@media (max-width: 420px) {
  .iptvore-purchase[data-v4="true"] { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; scroll-padding-block: 20px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__content { padding: 18px 18px 22px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__title { margin-bottom: 20px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress { gap: 8px; margin-bottom: 20px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li { gap: 6px; font-size: .75rem; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__plan { padding: 14px 16px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__choice { gap: 10px; padding: 13px 12px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__choice-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 8px; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-support .iptvore-purchase__choice { padding: 12px; }
}
@media (forced-colors: active) {
  .iptvore-purchase[data-v4="true"] { border-color: CanvasText; box-shadow: none; }
  .iptvore-purchase[data-v4="true"] :is(.iptvore-purchase__primary, .iptvore-purchase__choice, .iptvore-purchase__close, .iptvore-purchase__input) { border-color: ButtonText; box-shadow: none; }
  .iptvore-purchase[data-v4="true"] :is(button, a, input, select, textarea):focus-visible { outline-color: Highlight; }
  .iptvore-purchase[data-v4="true"] .iptvore-purchase__v4-progress li[aria-current="step"] .iptvore-purchase__v4-step-number { border-color: Highlight; outline: 2px solid Highlight; outline-offset: 2px; }
}
