:root {
  --color-primary: #440a92;
  --color-primary-light: #5d1abf;
  --color-primary-dark: #2a055d;
  --color-primary-darker: #150232;
  --color-cta: #20b25d;
  --color-cta-hover: #19944c;
  --color-pink-light: #ffd1e8;
  --color-lilas-light: #e1c3fa;
  --color-yellow-light: #fff1c5;
  --color-green-light: #d5f6e3;
  --color-blue-light: #cdeefe;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-bg-light: #fdfdfd;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(68, 10, 146, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(68, 10, 146, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(68, 10, 146, 0.25);
  --font-main: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--color-cta);
  box-shadow: 0 8px 20px rgba(32, 178, 93, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background-color: var(--color-cta-hover);
  box-shadow: 0 12px 25px rgba(32, 178, 93, 0.5);
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 178, 93, 0.7);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 14px rgba(32, 178, 93, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 178, 93, 0);
  }
}

.pattern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pattern-hero {
  background: rgb(68, 10, 146);
}

.pattern-hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image:
    radial-gradient(rgba(255, 209, 232, 0.34) 4px, transparent 4px),
    radial-gradient(rgba(255, 241, 197, 0.28) 4px, transparent 4px);
  background-size: 64px 64px;
  background-position:
    0 0,
    32px 32px;
  opacity: 0.6;
}

.checkout-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 120px;
  color: #ffffff;
}

.checkout-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.checkout-back-link::before {
  content: "<";
  font-weight: 800;
}

.checkout-logo {
  width: 88px;
  margin-bottom: 18px;
}

.checkout-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-yellow-light);
}

.checkout-kicker-light {
  color: var(--color-primary);
}

.checkout-hero-copy h1,
.checkout-section-head h2,
.checkout-product-copy h2,
.checkout-result h3,
.checkout-hero-card h2 {
  margin: 0;
  line-height: 1.1;
}

.checkout-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.checkout-hero-text {
  max-width: 620px;
  margin: 18px 0 24px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.checkout-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.checkout-hero-pills span,
.checkout-chip,
.checkout-badge,
.checkout-bump-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
}

.checkout-chip {
    height: 26px;
}

.checkout-hero-pills span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.checkout-hero-card {
  position: relative;
}

.checkout-hero-card::before,
.checkout-hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.55;
  pointer-events: none;
}

.checkout-hero-card::before {
  width: 180px;
  height: 180px;
  background: rgba(255, 209, 232, 0.48);
  top: -18px;
  right: -16px;
}

.checkout-hero-card::after {
  width: 150px;
  height: 150px;
  background: rgba(213, 246, 227, 0.42);
  bottom: -14px;
  left: -10px;
}

.checkout-hero-card-inner {
  position: relative;
  z-index: 1;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f7f1ff 100%);
  box-shadow: var(--shadow-xl);
  color: var(--color-text);
}

.checkout-hero-card h2 {
  margin-bottom: 16px;
  font-size: 1.7rem;
  color: var(--color-primary-dark);
}

.checkout-hero-list {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.checkout-hero-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-green-light);
  color: #0f6a40;
  font-weight: 600;
}

.checkout-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 96px;
}

.checkout-main {
  padding: 12px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkout-header {
    display: block;
    width: 100%;
    max-width: 1250px;
    height: 360px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.checkout-headerMobile {
    display: none;
}

.checkout-garantia,.checkout-pay-options {
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}

.checkout-pay-options {
    border-radius: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.checkout-main-column,
.checkout-sidebar {
  display: grid;
  gap: 22px;
}

.checkout-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(68, 10, 146, 0.08);
  box-shadow: var(--shadow-md);
}

.checkout-product-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.checkout-product-visual {
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    var(--color-pink-light),
    var(--color-lilas-light)
  );
}

.checkout-product-visual img {
  width: 100%;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.checkout-product-copy p {
  margin: 12px 0 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.checkout-badge,
.checkout-chip,
.checkout-bump-tag {
  color: var(--color-primary);
  background: var(--color-yellow-light);
}

.checkout-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.checkout-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.checkout-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-section-head-tight {
  margin-bottom: 14px;
}

.checkout-section-head h2 {
  font-size: 1.55rem;
  color: var(--color-primary-dark);
}

.checkout-inline-copy {
  margin-top: 8px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.order-bump-list {
  display: grid;
  gap: 14px;
}

.order-bump-item {
  display: grid;
  grid-template-columns: auto 92px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(250, 244, 255, 1)
  );
  border: 1px solid rgba(68, 10, 146, 0.1);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.order-bump-item:hover,
.order-bump-item.is-selected {
  transform: translateY(-2px);
  border-color: rgba(68, 10, 146, 0.24);
  box-shadow: var(--shadow-md);
}

.order-bump-checkbox {
  width: 22px;
  height: 22px;
  margin-top: 6px;
  accent-color: var(--color-cta);
}

.order-bump-thumb {
  width: 92px;
  align-self: start;
}

.order-bump-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.order-bump-copy {
  display: grid;
  gap: 8px;
}

.order-bump-copy p,
.checkout-note-list,
.checkout-summary-item p,
.checkout-helper-text,
.checkout-disclaimer,
.checkout-result p,
.checkout-result-list {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.order-bump-copy p {
    margin: 0;
    line-height: 1;
}

.order-bump-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.order-bump-price {
  font-weight: 800;
  color: var(--color-primary-dark);
}

.checkout-summary-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(68, 10, 146, 0.16);
}

.checkout-summary-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(68, 10, 146, 0.1);
}

.checkout-total-row strong {
  font-size: 1.85rem;
  color: var(--color-primary-dark);
}

.checkout-support {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-blue-light);
  color: var(--color-primary-dark);
  font-weight: 600;
  line-height: 1.6;
}

.checkout-feedback {
  display: none;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  font-weight: 700;
}

.checkout-feedback.is-visible {
  display: block;
}

.checkout-feedback.is-error {
  color: #8d2813;
  background: rgba(255, 209, 232, 0.56);
}

.checkout-feedback.is-success {
  color: #0f6a40;
  background: rgba(213, 246, 227, 0.82);
}

.checkout-market-switcher {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f6f1fd 0%, #ffffff 100%);
  border: 1px solid rgba(68, 10, 146, 0.12);
}

.checkout-market-switcher[hidden] {
  display: none;
}

.checkout-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(68, 10, 146, 0.14);
  background: #ffffff;
  font: inherit;
  color: var(--color-text);
}

.checkout-field select:focus {
  outline: none;
  border-color: rgba(68, 10, 146, 0.36);
  box-shadow: 0 0 0 4px rgba(93, 26, 191, 0.12);
}

.checkout-market-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkout-access-form {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.checkout-field {
  display: grid;
  gap: 8px;
}

.checkout-field span {
  font-size: 0.94rem;
  font-weight: 700;
}

.checkout-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(68, 10, 146, 0.14);
  background: #ffffff;
  font: inherit;
  color: var(--color-text);
}

.checkout-field input:focus {
  outline: none;
  border-color: rgba(68, 10, 146, 0.36);
  box-shadow: 0 0 0 4px rgba(93, 26, 191, 0.12);
}

.checkout-field input[readonly] {
  background: rgba(246, 241, 253, 0.92);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.checkout-linked-email-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(213, 246, 227, 0.68);
  color: #0f6a40;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-linked-email-hint[hidden] {
  display: none;
}

.checkout-brick-shell {
  position: relative;
  min-height: 320px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
  border: 1px solid rgba(68, 10, 146, 0.1);
}

.checkout-brick-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--color-yellow-light);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.checkout-brick-loading::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

#payment-brick-container,
#status-screen-container {
  width: 100%;
}

.checkout-stripe-shell {
  display: grid;
  gap: 14px;
}

.checkout-card-element {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(68, 10, 146, 0.16);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.checkout-inline-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.checkout-disclaimer {
  margin: 14px 0 0;
  font-size: 0.94rem;
  text-align: center;
}

.checkout-result-card[hidden],.checkout-brick-loading[hidden] {
  display: none;
}

.checkout-result {
  display: grid;
  gap: 14px;
}

.checkout-result-panel {
  display: grid;
  gap: 14px;
}

.checkout-result-tag {
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.checkout-result-approved .checkout-result-tag {
  color: #0f6a40;
  background: rgba(213, 246, 227, 0.9);
}

.checkout-result-pending .checkout-result-tag {
  color: #8d5f0a;
  background: rgba(255, 241, 197, 0.88);
}

.checkout-result-rejected .checkout-result-tag {
  color: #8d2813;
  background: rgba(255, 209, 232, 0.82);
}

.checkout-result-list {
  margin: 0;
  padding-left: 18px;
}

.checkout-status-screen {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(68, 10, 146, 0.1);
  display: none;
}

.checkout-status-screen.is-visible {
  display: block;
}

.checkout-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(68, 10, 146, 0.16);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  color: var(--color-primary-dark);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.checkout-button.is-ready:not(.checkout-button-secondary) {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(68, 10, 146, 0.28);
}

.checkout-button.is-ready:not(.checkout-button-secondary):hover:not(:disabled) {
  transform: translateY(-3px);
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: 0 14px 28px rgba(68, 10, 146, 0.34);
}

.checkout-button:not(.checkout-button-secondary):focus-visible {
  outline: 2px solid rgba(68, 10, 146, 0.22);
  outline-offset: 3px;
}

.checkout-button:not(.checkout-button-secondary):disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.checkout-button-secondary {
  color: var(--color-primary-dark);
  background: #ffffff;
  border: 1px solid rgba(68, 10, 146, 0.16);
}

.checkout-empty-state {
  margin: 0;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .checkout-hero-grid,
  .checkout-layout,
  .checkout-product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1140px);
    align-items: center;
    justify-content: center;
  }

  .checkout-main {
    padding: 0;
  }

  .checkout-header {
    display: none;
  }
  
  .checkout-headerMobile {
    display: block;
    width: 100%;
    height: 180px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
  }

  .checkout-garantia {
    border-radius: 20px;
  }

  .checkout-hero {
    padding: 48px 0 92px;
  }

  .checkout-hero-copy h1 {
    font-size: 2rem;
  }

  .checkout-card,
  .checkout-hero-card-inner {
    padding: 20px;
    border-radius: 24px;
  }

  .checkout-price-current,
  .checkout-total-row strong {
    font-size: 1.5rem;
  }

  .checkout-brick-shell {
    padding: 14px;
  }

  .order-bump-item {
    grid-template-columns: auto 72px minmax(0, 1fr);
  }

  .order-bump-thumb {
    width: 72px;
  }
}

@media (max-width: 560px) {
  .checkout-layout {
    gap: 18px;
  }

  .checkout-card {
    padding: 18px 16px;
  }

  .checkout-headerMobile {
    height: auto;
    margin-bottom: 20px;
  }

  .checkout-product-card {
    gap: 16px;
  }

  .checkout-product-copy h2,
  .checkout-section-head h2 {
    font-size: 1.35rem;
  }

  .order-bump-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-bump-checkbox {
    margin-top: 0;
  }

  .order-bump-thumb {
    width: 100%;
    max-width: 120px;
  }

  .order-bump-meta,
  .checkout-action-row,
  .checkout-total-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
