.pc-checkout {
  --pc-primary: #e1505e;
  --pc-primary-dark: #c53f4d;
  --pc-text: #25272b;
  --pc-muted: #70747c;
  --pc-border: #dedfe3;
  --pc-soft: #f7f7f8;
  --pc-success: #1d7a4b;
  color: var(--pc-text);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.pc-checkout,
.pc-checkout * {
  box-sizing: border-box;
}

.pc-checkout button,
.pc-checkout input,
.pc-checkout select,
.pc-checkout a {
  font-family: "Poppins", sans-serif;
}

.pc-checkout--page {
  width: 100%;
  padding: 20px 12px;
  background: #fff;
}

.pc-checkout--popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pc-checkout--popup.is-open {
  display: flex;
}

.pc-checkout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 24, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.pc-checkout__shell {
  position: relative;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #e6e2e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(18, 18, 20, 0.18);
}

.pc-checkout--popup .pc-checkout__shell {
  z-index: 1;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9c9cd transparent;
}

.pc-checkout__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e1e1e4;
  border-radius: 50%;
  color: #5f6268;
  background: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pc-checkout__close:hover {
  border-color: #c9c9ce;
  color: var(--pc-text);
  background: var(--pc-soft);
}

.pc-checkout__header {
  margin-bottom: 20px;
  padding: 0 45px 18px 0;
  border-bottom: 1px solid #ececef;
}

.pc-checkout__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
  color: #61676e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pc-checkout__eyebrow svg {
  width: 15px;
  height: 15px;
  fill: var(--pc-success);
}

.pc-checkout__header h2 {
  margin: 0;
  color: var(--pc-text);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pc-checkout__header p:last-child {
  margin: 6px 0 0;
  color: var(--pc-muted);
  font-size: 13px;
  line-height: 1.45;
}

.pc-checkout__notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #efc3c8;
  border-radius: 8px;
  color: #922f3b;
  background: #fff5f6;
  font-size: 12px;
  font-weight: 500;
}

.pc-checkout__notice.is-info {
  border-color: #cdd9e8;
  color: #3d5874;
  background: #f5f8fc;
}

.pc-checkout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.pc-field {
  min-width: 0;
}

.pc-field--full {
  grid-column: 1 / -1;
}

.pc-field label {
  display: block;
  margin-bottom: 5px;
  color: #3d4045;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.pc-field label span {
  color: #91949a;
  font-size: 11px;
  font-weight: 400;
}

.pc-checkout .pc-field input,
.pc-checkout .pc-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  outline: 0;
  color: var(--pc-text);
  background: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pc-checkout .pc-field input::placeholder {
  color: #a0a3a8;
  opacity: 1;
}

.pc-checkout .pc-field select:disabled,
.pc-checkout .pc-field input:disabled {
  color: #8d9196;
  background: #f4f4f5;
  cursor: wait;
}

.pc-checkout .pc-field input:focus,
.pc-checkout .pc-field select:focus {
  border-color: var(--pc-primary);
  box-shadow: 0 0 0 3px rgba(225, 80, 94, 0.1);
}

.pc-field.has-error input,
.pc-field.has-error select,
.pc-field.has-error .pc-phone {
  border-color: #c73748;
}

.pc-field__error {
  display: block;
  min-height: 14px;
  padding-top: 2px;
  color: #ad2e3d;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.pc-phone {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
}

.pc-phone > span {
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-right: 1px solid var(--pc-border);
  color: #52565d;
  background: #f7f7f8;
  font-size: 12px;
  font-weight: 500;
}

.pc-checkout .pc-phone input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pc-checkout__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr);
  gap: 18px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #e3e3e6;
  border-radius: 10px;
  background: #fafafa;
}

.pc-checkout__summary-label {
  margin: 0 0 4px;
  color: #777b82;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pc-checkout__summary strong {
  display: block;
  color: var(--pc-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.pc-checkout__summary [data-pc-event-meta] {
  display: block;
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 11px;
  line-height: 1.4;
}

.pc-checkout__amounts {
  display: grid;
  gap: 5px;
}

.pc-checkout__amounts > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--pc-muted);
  font-size: 11px;
}

.pc-checkout__amounts strong {
  color: var(--pc-text);
  font-size: 11px;
  font-weight: 500;
}

.pc-checkout__amounts .pc-checkout__total {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid #dedee1;
  color: var(--pc-text);
  font-size: 12px;
  font-weight: 600;
}

.pc-checkout__amounts .pc-checkout__total strong {
  color: var(--pc-success);
  font-size: 13px;
  font-weight: 600;
}

.pc-checkout__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 13px 0;
  color: #666a71;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.pc-checkout__consent input {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--pc-primary);
}

.pc-checkout__consent a {
  color: var(--pc-primary-dark);
  font-weight: 500;
  text-decoration: none;
}

.pc-checkout__submit,
.pc-checkout__result-button,
.pc-checkout-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--pc-primary);
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.pc-checkout__submit {
  width: 100%;
}

.pc-checkout__submit svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pc-checkout__submit:hover:not(:disabled),
.pc-checkout__result-button:hover,
.pc-checkout-launch:hover {
  color: #fff;
  background: var(--pc-primary-dark);
  transform: translateY(-1px);
}

.pc-checkout__submit:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.pc-checkout__footnote {
  margin: 8px 0 0;
  color: #858990;
  font-size: 10px;
  font-weight: 400;
  text-align: center;
}

.pc-checkout__plan {
	max-height: 900px;
	margin-top: 21px;
	padding-top: 18px;
	overflow: hidden;
	border-top: 1px solid #e5e5e8;
	color: #62666d;
	opacity: 1;
	transition: max-height 0.28s ease, margin 0.28s ease, padding 0.28s ease, border-color 0.28s ease, opacity 0.18s ease;
}

.pc-checkout__plan.is-collapsed {
	max-height: 0;
	margin-top: 0;
	padding-top: 0;
	border-top-color: transparent;
	opacity: 0;
	pointer-events: none;
}

.pc-checkout__plan-kicker {
  margin: 0 0 5px;
  color: #73777e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-checkout__plan h3 {
  margin: 0 0 8px;
  color: var(--pc-text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.pc-checkout__plan > p:not(.pc-checkout__plan-kicker):not(.pc-checkout__policy) {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.pc-checkout__venue-note {
  margin-top: 12px;
}

.pc-checkout__venue-note strong,
.pc-checkout__contact > strong {
  display: block;
  margin-bottom: 3px;
  color: #41444a;
  font-size: 11px;
  font-weight: 600;
}

.pc-checkout__venue-note p {
  margin: 0;
  color: #6d7178;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}

.pc-checkout__policy {
  margin: 13px 0;
  padding: 10px 11px;
  border-radius: 8px;
  color: #474a50;
  background: #f6f6f7;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.pc-checkout__contact {
  padding-top: 12px;
  border-top: 1px solid #ececef;
}

.pc-checkout__contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 15px;
}

.pc-checkout__contact a {
  color: var(--pc-primary-dark);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}

.pc-checkout__contact a:hover {
  text-decoration: underline;
}

.pc-checkout__trap {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.pc-checkout.is-result .pc-checkout__header {
  display: none;
}

.pc-checkout__result {
  padding: 30px 12px 18px;
  text-align: center;
}

.pc-checkout__result--existing {
  padding: 34px 20px 26px;
}

.pc-checkout__result--existing .pc-checkout__result-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: #fff !important;
  background-color: var(--pc-primary) !important;
  background-image: none !important;
  box-shadow: 0 10px 22px rgba(197, 63, 77, 0.2);
}

.pc-checkout__result--existing .pc-checkout__result-icon svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.pc-checkout__result-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  border-radius: 50%;
  color: #fff;
  background: var(--pc-success);
  box-shadow: none;
  font-size: 22px;
  font-weight: 600;
}

.pc-checkout__result-icon--warning {
  background: var(--pc-primary);
}

.pc-checkout__result h3 {
  margin: 0 0 7px;
  color: var(--pc-text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pc-checkout__result--existing h3 {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.pc-checkout__result p {
  max-width: 420px;
  margin: 0 auto 18px;
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.pc-checkout__result--existing p {
  max-width: 510px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.65;
}

.pc-checkout__result-button {
  width: min(100%, 260px);
}

.pc-checkout__app-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pc-checkout__result--existing .pc-checkout__app-links {
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
  gap: 12px;
}

.pc-checkout__app-links .pc-checkout__result-button {
  width: min(100%, 210px);
}

.pc-checkout__result-button--secondary {
  color: var(--pc-primary-dark);
  border: 1px solid #dedfe3;
  background: #fff;
}

.pc-checkout__result-button--secondary:hover {
  color: var(--pc-primary-dark);
  border-color: var(--pc-primary);
  background: #fff;
}

button.pc-checkout__result-button {
  font-family: "Poppins", sans-serif;
}

.pc-checkout__text-button {
  display: block;
  margin: 10px auto 0;
  padding: 5px;
  border: 0;
  color: var(--pc-primary-dark);
  background: none;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.pc-checkout__loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--pc-text);
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
}

.pc-checkout__spinner {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  border: 3px solid #ededee;
  border-top-color: var(--pc-primary);
  border-radius: 50%;
  animation: pc-checkout-spin 0.85s linear infinite;
}

.pc-checkout__loading strong {
  font-size: 16px;
  font-weight: 600;
}

.pc-checkout__loading span {
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 11px;
  font-weight: 400;
}

.pc-checkout__progress {
  width: min(100%, 230px);
  height: 3px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececee;
}

.pc-checkout__progress i {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--pc-primary);
  animation: pc-checkout-progress 1.5s ease-in-out infinite;
}

body.pc-checkout-open {
  overflow: hidden;
}

.pc-checkout [hidden] {
  display: none !important;
}

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

@keyframes pc-checkout-progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
	.pc-checkout__plan {
		transition: none;
	}
}

@media (max-width: 640px) {
  .pc-checkout--page {
    padding: 8px 0;
  }

  .pc-checkout--popup {
    align-items: center;
    padding: 10px;
  }

  .pc-checkout__shell,
  .pc-checkout--popup .pc-checkout__shell {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 19px 14px 17px;
    border-radius: 14px;
  }

  .pc-checkout--page .pc-checkout__shell {
    border-radius: 12px;
    box-shadow: none;
  }

  .pc-checkout__close {
    top: 11px;
    right: 11px;
    width: 32px;
    height: 32px;
  }

  .pc-checkout__header {
    margin-bottom: 16px;
    padding: 0 36px 14px 0;
  }

  .pc-checkout__eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .pc-checkout__header h2 {
    font-size: 21px;
  }

  .pc-checkout__header p:last-child {
    font-size: 11px;
  }

  .pc-checkout__grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pc-field--full {
    grid-column: auto;
  }

  .pc-checkout .pc-field input,
  .pc-checkout .pc-field select {
    min-height: 43px;
    font-size: 16px;
  }

  .pc-checkout__summary {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .pc-checkout__plan {
    margin-top: 18px;
    padding-top: 16px;
  }

  .pc-checkout__plan h3 {
    font-size: 17px;
  }

  .pc-checkout__result {
    padding: 29px 5px 15px;
  }

  .pc-checkout__result h3 {
    font-size: 21px;
  }

  .pc-checkout__app-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-checkout *,
  .pc-checkout *::before,
  .pc-checkout *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
