/* Mobile first: columnas Bootstrap; escritorio desde 1200px. */
.page-checkout {
  --iti-border-color: #34373f;
  --iti-country-selector-bg: #15181f;
  --iti-hover-color: #242833;
  --iti-icon-color: #f1f2f5;
  --iti-border-width: 1px;
  background: #0e1015;
  color: #ffffff;
  color-scheme: dark;
}

/* -- begin section #checkout -- */
.section-checkout {
  min-height: 100svh;
}

.checkout__back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2.75rem;
  color: #ffffff;
  font-size: clamp(.8125rem, .75rem + .2vw, .9375rem);
  text-decoration: none;
}

.checkout__back:hover {
  color: #ef143e;
}

.checkout__back:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
  border-radius: .25rem;
}

.checkout__form {
  --plan-accent: #22c55e;
  --plan-glow: rgb(34 197 94 / 10%);
}

.checkout__form[data-plan="virtual"] {
  --plan-accent: #2f80ed;
  --plan-glow: rgb(47 128 237 / 10%);
}

.checkout__form[data-plan="inversifica"] {
  --plan-accent: #ef143e;
  --plan-glow: rgb(239 20 62 / 10%);
}

.checkout__form[data-plan-status="loading"] > :not([data-plan-loading]),
.checkout__form[data-plan-status="unavailable"] > :not(.checkout__plan-unavailable) {
  display: none;
}

.checkout__plan-unavailable {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #34373f;
  border-radius: .75rem;
  background: #15181f;
  text-align: center;
}

.checkout__plan-unavailable[hidden] {
  display: none;
}

.checkout__plan-unavailable h2 {
  margin: 0 0 .75rem;
  color: #ef143e;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
}

.checkout__plan-unavailable p {
  margin: 0 0 1.5rem;
  color: #c6cad4;
  font-size: clamp(.875rem, 1vw, 1rem);
}

.checkout__summary {
  position: relative;
  aspect-ratio: auto;
  margin-bottom: 1.75rem;
  border: 1px solid var(--plan-accent);
  border-top-width: 2px;
  border-radius: .875rem;
  background: linear-gradient(135deg, var(--plan-glow), transparent), #0e1015;
  box-shadow: none;
}

.checkout__plan-badge {
  position: absolute;
  inset: 0 auto auto 50%;
  display: grid;
  place-items: center;
  inline-size: 3.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--plan-accent);
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.checkout__plan-body {
  padding: 2.25rem 1.5rem 1.5rem;
}

.checkout__summary .checkout__plan-name {
  margin: 0 0 .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  color: var(--plan-accent);
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.checkout__summary .experience-card__features {
  color: #d5d7df;
  font-size: clamp(.875rem, .8rem + .2vw, 1rem);
  line-height: 1.5;
}

.checkout__summary .experience-card__features li {
  padding-left: 1.75rem;
}

.checkout__form .checkout__summary .experience-card__features li::before {
  inset: .15em auto auto 0;
  display: grid;
  place-items: center;
  inline-size: 1.125rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--plan-accent);
  color: #ffffff;
  font-size: clamp(.625rem, .625rem, .625rem);
  line-height: 1;
}

.checkout__title {
  margin: 0 0 .5rem;
  color: #ef143e;
  font-size: clamp(1.375rem, 2.2vw, 2.125rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.checkout__lead {
  margin: 0 0 1.25rem;
  color: #c6cad4;
  font-size: clamp(.8125rem, .9vw, .9375rem);
  line-height: 1.5;
}

.checkout__event {
  display: grid;
  gap: .375rem;
  margin: 0 0 1.5rem;
}

.checkout__event li {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: #f1f2f5;
  font-size: clamp(.75rem, .9vw, .875rem);
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.checkout__event svg {
  flex-shrink: 0;
  color: #ef143e;
}

.checkout__total {
  margin-bottom: 1.5rem;
}

.checkout__total-label {
  margin: 0 0 .25rem;
  color: #d5d7df;
  font-size: clamp(.625rem, .6rem + .1vw, .75rem);
  line-height: 1.4;
  text-transform: uppercase;
}

.checkout__total-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
  line-height: 1.15;
}

.checkout__total-amount strong {
  color: #ffffff;
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -.04em;
}

.checkout__total-amount del {
  color: #8a8e99;
  font-size: clamp(.8125rem, .75rem + .2vw, .9375rem);
}

.checkout__coupon-summary {
  margin-top: 1rem;
  padding: clamp(.875rem, 2vw, 1.125rem);
  border: 1px solid rgb(255 210 63 / 35%);
  border-radius: .75rem;
  background: #1e190e;
}

.checkout__coupon-summary[hidden],
.checkout__breakdown-row[hidden] {
  display: none;
}

.checkout__coupon-summary-title {
  margin: 0 0 .75rem;
  color: #ffd23f;
  font-size: clamp(.8125rem, .8rem + .15vw, .9375rem);
  font-weight: 600;
  line-height: 1.5;
}

.checkout__price-breakdown {
  display: grid;
  gap: .5rem;
  margin: 0;
}

.checkout__breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: #d5d7df;
  font-size: clamp(.75rem, .75rem + .15vw, .875rem);
  line-height: 1.5;
}

.checkout__breakdown-row dt {
  min-width: 0;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.checkout__breakdown-row dd {
  flex-shrink: 0;
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.checkout__breakdown-row--discount {
  color: #ffd23f;
}

.checkout__breakdown-row--total {
  margin-top: .25rem;
  padding-top: .75rem;
  border-top: 1px solid rgb(255 210 63 / 25%);
  color: #ffffff;
  font-size: clamp(.875rem, .8rem + .2vw, 1rem);
}

.checkout__breakdown-row--total dt,
.checkout__breakdown-row--total dd {
  font-weight: 700;
}

.checkout__tickets {
  margin: 0 0 1.75rem;
}

.checkout__fields {
  display: grid;
  gap: .875rem;
}

.checkout__label {
  display: block;
  margin-bottom: .375rem;
  color: #ffffff;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
  font-weight: 600;
  line-height: 1.4;
}

.checkout__input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .625rem .875rem;
  border: 1px solid #34373f;
  border-radius: .5rem;
  background: #0e1015;
  color: #ffffff;
  font: inherit;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
  line-height: 1.4;
}

.checkout__input::placeholder {
  color: #8a8e99;
  opacity: 1;
}

.checkout__input:focus-visible {
  outline: none;
  border-width: 2px;
  border-color: #ef143e;
}

.checkout__phone .iti {
  width: 100%;
}

.page-checkout .iti__country-selector {
  color: #ffffff;
  font: inherit;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
}

.page-checkout .iti__search-input {
  border-color: #34373f;
  background: #0e1015;
  color: #ffffff;
  font: inherit;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
}

.page-checkout .iti__search-input::placeholder {
  color: #8a8e99;
}

.checkout__subtitle {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 .625rem;
  font-size: clamp(.875rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.checkout__subtitle em {
  color: #ff3f65;
  font-style: normal;
}

.checkout__quantity {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: .5rem;
}

.checkout__step {
  min-height: 44px;
  padding: .5rem;
  border-color: #34373f;
  border-radius: .375rem;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
}

.checkout__step:disabled {
  color: #606571;
}

.checkout__quantity-value {
  padding-inline: .25rem;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.checkout__quantity-value::-webkit-inner-spin-button,
.checkout__quantity-value::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.checkout__coupon-section {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.checkout__coupon {
  --coupon-chevron-rotation: 0deg;
  padding: .75rem 1rem;
  border: 1px solid #34373f;
  border-radius: .625rem;
}

.checkout__coupon[open] {
  --coupon-chevron-rotation: 180deg;
}

.checkout__coupon-label {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: 24px;
  color: #ffffff;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.checkout__coupon-label::-webkit-details-marker {
  display: none;
}

.checkout__coupon-label:focus-visible {
  outline: 2px solid #ef143e;
  outline-offset: 3px;
}

.checkout__coupon-chevron {
  flex-shrink: 0;
  margin-left: auto;
  transform: rotate(var(--coupon-chevron-rotation));
  transition: transform 160ms ease;
}

.checkout__coupon-body {
  padding-top: .5rem;
}

.checkout__coupon-controls {
  display: flex;
  align-items: start;
  gap: .5rem;
}

.checkout__coupon-input {
  flex: 1;
}

.checkout__apply {
  flex-shrink: 0;
  width: auto;
  padding-inline: .75rem;
  border-color: #3d3f44;
  border-radius: .375rem;
  background: #3d3f44;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
  font-weight: 400;
}

.checkout__apply:hover:not(:disabled) {
  border-color: #d20d33;
  background: #d20d33;
}

.checkout__apply:not(:disabled) {
  border-color: #ef143e;
  background: #ef143e;
}

.checkout__apply:disabled {
  color: #b9bbc1;
  cursor: default;
}

.checkout__coupon-message {
  margin: .5rem 0 0;
  color: #d5d7df;
  font-size: clamp(.75rem, .75rem + .1vw, .875rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.checkout__coupon-message[data-state="success"] {
  color: #22c55e;
}

.checkout__coupon-message[data-state="warning"] {
  color: #fbbf24;
}

.checkout__coupon-message[data-state="error"] {
  color: #ff7793;
}

.checkout__coupon-input[aria-invalid="true"] {
  border-color: #ff7793;
}

.checkout__receipt {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.checkout__receipt-panel {
  padding: .75rem 1rem;
  border: 1px solid #34373f;
  border-radius: .5rem;
}

.checkout__receipt-option {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: 24px;
  color: #d5d7df;
  font-size: clamp(.75rem, .8rem + .1vw, .9375rem);
  line-height: 1.4;
  cursor: pointer;
}

.checkout__receipt-option input,
.checkout__privacy input {
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--plan-accent);
}

.checkout__invoice-toggle {
  width: .875rem;
  height: .875rem;
  border: 1px solid #d5d7df;
  border-radius: 50%;
  background: #0e1015;
  appearance: none;
  cursor: pointer;
}

.checkout__invoice-toggle:checked {
  background: #d5d7df;
  box-shadow: inset 0 0 0 3px #0e1015;
}

.checkout__invoice-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.checkout__invoice-fields {
  min-width: 0;
  margin: .5rem 0 0;
  padding: 0;
  border: 0;
}

.checkout__invoice-fields:not([hidden]) {
  display: grid;
  gap: .5rem;
}

.checkout__privacy {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-block: 1.5rem;
  color: #d5d7df;
  font-size: clamp(.75rem, .8rem + .1vw, .875rem);
  line-height: 1.4;
  cursor: pointer;
}

.checkout__privacy input {
  margin-top: .125rem;
}

.checkout__policy-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout__submit {
  text-transform: uppercase;
}

body.checkout-payment-modal-open {
  overflow: hidden;
}

.checkout-payment-modal {
  position: fixed;
  z-index: 2147483645;
  inset: 0;
  display: flex;
  align-items: center;
  padding-block: clamp(1rem, 5vh, 2.5rem);
  background: rgb(0 0 0 / 80%);
  backdrop-filter: blur(.3125rem);
}

.checkout-payment-modal[data-phase="confirming"],
.checkout-payment-modal[data-phase="pending"],
.checkout-payment-modal[data-phase="complete"],
.checkout-payment-modal[data-phase="cancelled"],
.checkout-payment-modal[data-phase="failed"] {
  z-index: 2147483647;
}

.checkout-payment-modal[hidden],
.checkout-payment-modal__close[hidden] {
  display: none;
}

.checkout-payment-modal__panel {
  position: relative;
  max-block-size: 90dvh;
  overflow-y: auto;
  padding: clamp(2rem, 6vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #2a3139;
  border-radius: .75rem;
  background: #ffffff;
  color: #060a0d;
  box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 30%);
  text-align: center;
}

.checkout-payment-modal__close {
  position: absolute;
  inset: .75rem .75rem auto auto;
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  padding: .5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #060a0d;
  cursor: pointer;
}

.checkout-payment-modal__close:focus-visible {
  outline: 2px solid #ef143e;
  outline-offset: 2px;
}

.checkout-payment-modal__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

.checkout-payment-modal__icon {
  display: block;
  margin: 0 auto 1rem;
  color: #ef143e;
}

.checkout-payment-modal__warning {
  margin: 0 0 .75rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.4;
}

.checkout-payment-modal__message {
  margin: 0 0 .75rem;
  font-size: clamp(.9375rem, 2vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
}

.checkout-payment-modal__hint {
  display: block;
  color: #5d6470;
  font-size: clamp(.75rem, 1.5vw, .875rem);
  line-height: 1.5;
}

.checkout-payment-modal__spinner {
  display: inline-block;
  inline-size: clamp(2.25rem, 6vw, 2.75rem);
  aspect-ratio: 1;
  margin-top: 1.5rem;
  border: .25rem solid #e5e7eb;
  border-top-color: #ef143e;
  border-radius: 50%;
  animation: checkout-payment-spin .8s linear infinite;
}

@keyframes checkout-payment-spin {
  to {
    transform: rotate(1turn);
  }
}

.checkout__payment-status {
  margin: 0 0 1rem;
  color: #d5d7df;
  font-size: clamp(.8125rem, .8rem + .1vw, .9375rem);
  line-height: 1.5;
  white-space: pre-line;
}

.checkout__payment-status[data-state="error"] {
  color: #ff7793;
}

.checkout__form[hidden],
.checkout__payment-status[hidden] {
  display: none;
}

.checkout__payment-result {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #ff7793;
  border-radius: .75rem;
  background: #15181f;
  text-align: center;
  overflow-wrap: anywhere;
}

.checkout__payment-result[data-state="success"] {
  border-color: #22c55e;
}

.checkout__payment-result h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

.checkout__payment-result[data-state="success"] h2 {
  color: #22c55e;
}

.checkout__payment-result p {
  margin: 0 0 1rem;
  color: #d5d7df;
  font-size: clamp(.875rem, 1vw, 1rem);
  line-height: 1.5;
  white-space: pre-line;
}

.checkout__field-error {
  margin: .375rem 0 0;
  color: #ff7793;
  font-size: clamp(.75rem, .75rem + .1vw, .875rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.checkout__field-error[hidden] {
  display: none;
}

.checkout__privacy--invalid {
  margin-bottom: 0;
}

.checkout__field-error--privacy {
  margin-bottom: 1.5rem;
}

.checkout__input[aria-invalid="true"] {
  border-color: #ff7793;
}

.checkout__privacy input[aria-invalid="true"] {
  outline: 2px solid #ff7793;
  outline-offset: 3px;
}

.checkout__toast {
  position: fixed;
  z-index: 1080;
  inset: 1rem 0 auto;
  pointer-events: none;
}

.checkout__toast[hidden] {
  display: none;
}

.checkout__toast-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #b5810b;
  border-left-width: 4px;
  border-radius: .75rem;
  background: #fbbf24;
  box-shadow: 0 .5rem 2rem rgb(0 0 0 / 35%);
  color: #251600;
  pointer-events: auto;
}

.checkout__toast[data-state="success"] .checkout__toast-body {
  border-color: #116530;
  background: #15803d;
  color: #ffffff;
}

.checkout__toast-message {
  flex: 1;
  margin: 0;
  font-size: clamp(.8125rem, .75rem + .15vw, .9375rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.checkout__toast-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  color: inherit;
  font-size: clamp(1.25rem, 1.25rem, 1.25rem);
  line-height: 1;
  cursor: pointer;
}

.checkout__toast-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
/* -- end section #checkout -- */

@media (prefers-reduced-motion: reduce) {
  .checkout__coupon-chevron {
    transition: none;
  }

  .checkout-payment-modal__spinner {
    animation: none;
  }
}
