/* ═══════════════════════════════════════════════════
       RESET
    ═══════════════════════════════════════════════════ */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    /* ═══════════════════════════════════════════════════
       DESIGN TOKENS — extracted from live Hotmart DOM
    ═══════════════════════════════════════════════════ */
    :root {
      /* Hotmart palette (direct from CSS vars in scrape) */
      --white: #fff;
      --gray-100: #f7f9fa;
      --gray-200: #e6e9ed;
      --gray-300: #c9ced4;
      --gray-400: #9ea4ac;
      --gray-500: #707780;
      --gray-600: #464b52;
      --gray-700: #32363b;
      --gray-800: #282c2f;
      --gray-900: #191c1f;
      --blue: #5981e3;
      --blue-dark: #355cc0;
      --blue-darker: #253f82;
      --green: #009d43;
      --green-light: #4acc82;
      --green-lightest: #e6fcf0;
      --green-dark: #006e2f;
      --red: #d6342c;
      /* Page */
      --page-bg: #f5f5f5;
      --card-bg: #ffffff;
      --card-border: #c8cdd3;
      /* Inputs (from formkit styles in scrape) */
      --input-h: 48px;
      --input-border: #c9ced4;
      --input-radius: 4px;
      /* Type scale (Hotmart uses rem-based) */
      --text-1: 0.75rem;
      /* 12px */
      --text-base: 1rem;
      /* 16px */
      --text-2: 1rem;
      --text-3: 1.25rem;
      /* Spacing */
      --spacer-1: 0.25rem;
      --spacer-2: 0.5rem;
      --spacer-3: 0.75rem;
      --spacer-4: 1rem;
      --spacer-5: 1.5rem;
      --spacer-6: 2rem;
      /* Font */
      --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --font-serif: 'Nunito', 'Nunito Sans', sans-serif;
      /* Transition */
      --t: 0.18s ease;
    }

    /* ── Skeleton Loading ── */
    .skeleton-text {
      position: relative;
      overflow: hidden;
      background-color: #f0f0f0 !important;
    }
    .skeleton-text::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      animation: skeleton-wave 1.5s infinite;
    }
    @keyframes skeleton-wave {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* ═══════════════════════════════════════════════════
       PAGE
    ═══════════════════════════════════════════════════ */
    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font);
      background: var(--page-bg);
      color: var(--gray-900);
      min-height: 100vh;
      font-size: 14px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }


    /* ═══════════════════════════════════════════════════
       COUNTRY DROPDOWN
    ═══════════════════════════════════════════════════ */
    .cc-dropdown-wrap {
      position: relative;
      flex-shrink: 0;
    }

    .cc-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      z-index: 200;
      background: #fff;
      border: 1px solid var(--gray-200);
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
      min-width: 200px;
      max-height: 320px;
      overflow-y: auto;
      padding: 6px 0;
      /* smooth reveal */
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity .15s ease, transform .15s ease;
    }

    .cc-dropdown.open {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .cc-item {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 9px 14px;
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 13px;
      font-family: var(--font);
      font-weight: 600;
      color: var(--gray-700);
      text-align: left;
      white-space: nowrap;
      transition: background var(--t);
    }

    .cc-item:hover {
      background: var(--gray-100);
    }

    .cc-item.selected {
      background: #ebf0ff;
      color: var(--blue-dark);
    }

    .cc-item .f {
      font-size: 18px;
      line-height: 1;
    }

    .cc-dropdown hr {
      border: none;
      border-top: 1px solid var(--gray-200);
      margin: 4px 0;
    }

    /* ═══════════════════════════════════════════════════
       MAIN CHECKOUT CARD
    ═══════════════════════════════════════════════════ */
    .checkout-card {
      max-width: 520px;
      margin: 0 auto;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.07);
    }

    /* ═══════════════════════════════════════════════════
       PRODUCT HEADER (topbar)
       Extracted from: class="product-infos _ml-4"
    ═══════════════════════════════════════════════════ */
    .product-header {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      gap: 12px;
      border-bottom: 1px solid var(--gray-200);
      background: #fff;
    }

    .product-thumb {
      width: 64px;
      height: 64px;
      border-radius: 6px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid var(--gray-200);
    }

    .product-info {
      flex: 1;
      min-width: 0;
    }

    .product-name {
      /* class="_text-gray-800 _text-base _line-height-lg _m-0 _p-0 font-serif" */
      font-family: var(--font-serif);
      font-size: var(--text-base);
      font-weight: 700;
      color: var(--gray-800);
      line-height: 1.5;
    }

    .product-author {
      /* class="_font-weight _text-gray-600 _text-1 _line-height _m-0 _p-0" */
      font-size: var(--text-1);
      color: var(--gray-600);
      margin-top: 2px;
    }

    .product-price-display {
      font-size: var(--text-3);
      font-weight: 800;
      color: var(--gray-900);
      margin-top: 4px;
      line-height: 1;
    }

    .product-tax-info {
      font-size: 11px;
      font-weight: 700;
      color: var(--gray-500);
      margin-top: 2px;
    }

    .product-country-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border: 1px solid var(--gray-300);
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
      font-size: 12px;
      color: var(--gray-600);
      font-family: var(--font);
      flex-shrink: 0;
      white-space: nowrap;
    }

    .product-country-btn:hover {
      background: var(--gray-100);
    }

    /* Info blocks (for SPEI, etc) */
    .info-blocks-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 14px;
    }

    .info-block {
      display: flex;
      gap: 14px;
      padding: 16px;
      background: #F5F3EF;
      border: 1.5px solid var(--gray-200);
      border-radius: 8px;
      align-items: flex-start;
    }

    .info-block-icon {
      width: 20px;
      height: 20px;
      opacity: 0.6;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .info-block-text {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
      /* Important: allow text to shrink and wrap */
    }

    .info-block-text strong {
      font-size: 14px;
      color: var(--gray-900);
      font-weight: 700;
      overflow-wrap: break-word;
      /* Prevent long words from breaking layout */
    }

    .info-block-text p {
      font-size: 13px;
      color: var(--gray-600);
      line-height: 1.4;
      margin: 0;
      overflow-wrap: break-word;
    }

    /* Tooltip */
    .tax-row-container {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .help-icon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 14px;
      height: 14px;
      cursor: pointer;
      opacity: 0.5;
      transition: opacity 0.2s;
      border: none;
      background: none;
      padding: 0;
      margin: 0;
      position: relative;
    }

    .help-icon-btn:hover {
      opacity: 1;
    }

    .help-icon-btn img {
      width: 100%;
      height: 100%;
    }

    .custom-tooltip {
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(-8px);
      background: #1a1a1a;
      color: #fff;
      padding: 10px 14px;
      border-radius: 6px;
      font-size: 12px;
      width: 220px;
      line-height: 1.4;
      z-index: 100;
      display: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      pointer-events: none;
    }

    .custom-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: #1a1a1a transparent transparent transparent;
    }

    .help-icon-btn:hover .custom-tooltip {
      display: block;
    }

    /* ═══════════════════════════════════════════════════
       INNER CONTENT (padding container)
    ═══════════════════════════════════════════════════ */
    .checkout-inner {
      padding: 16px 16px 0;
    }

    /* ═══════════════════════════════════════════════════
       SECTION TITLES
    ═══════════════════════════════════════════════════ */
    .section-h2 {
      font-family: var(--font-serif);
      font-size: var(--text-base);
      font-weight: 700;
      color: var(--gray-900);
      margin-bottom: 8px;
    }

    /* ═══════════════════════════════════════════════════
       FORMKIT INPUTS
    ═══════════════════════════════════════════════════ */
    .formkit-outer {
      margin-bottom: 12px;
    }

    .formkit-label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--gray-700);
      margin-bottom: 4px;
    }

    .formkit-input {
      display: block;
      width: 100%;
      height: var(--input-h);
      padding: 0 12px;
      border: 1px solid var(--input-border);
      border-radius: var(--input-radius);
      background: #fff;
      font-size: 14px;
      font-family: var(--font);
      color: var(--gray-900);
      outline: none;
      transition: border-color var(--t), box-shadow var(--t);
    }

    .formkit-input:focus {
      border-color: #333;
      box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
    }

    .err-msg {
      display: none;
      font-size: 11px;
      color: var(--red);
      margin-top: 3px;
    }

    .formkit-outer.has-error .err-msg {
      display: block;
    }

    .formkit-outer.has-error .formkit-input {
      border-color: var(--red);
    }

    .phone-input {
      display: flex;
    }

    .phone-prefix-btn {
      height: var(--input-h);
      padding: 0 10px;
      border: 1px solid var(--input-border);
      border-right: none;
      border-radius: var(--input-radius) 0 0 var(--input-radius);
      background: var(--gray-100);
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      font-size: 13px;
      color: var(--gray-700);
    }

    .phone-input .formkit-input {
      border-radius: 0 var(--input-radius) var(--input-radius) 0;
      flex: 1;
    }

    /* ═══════════════════════════════════════════════════
       COUPON SECTION
    ═══════════════════════════════════════════════════ */
    .coupon-wrap {
      margin: 4px 0 12px;
    }

    .coupon-toggle {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 12px;
      color: var(--blue-dark);
      text-decoration: underline;
    }

    .coupon-field {
      display: none;
      margin-top: 8px;
      gap: 8px;
    }

    .coupon-field.open {
      display: flex;
    }

    .coupon-field input {
      flex: 1;
      height: 40px;
      padding: 0 10px;
      border: 1px solid var(--gray-300);
      border-radius: 4px;
    }

    .coupon-apply {
      height: 40px;
      padding: 0 14px;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 4px;
      font-weight: 600;
    }

    /* ═══════════════════════════════════════════════════
       PAYMENT TABS (Carousel Design)
    ═══════════════════════════════════════════════════ */
    #payment-methods-options {
      margin: 0 0 16px;
    }

    .tabs-list {
      display: flex;
      list-style: none;
      padding: 4px 0 12px;
      margin: 0;
      overflow-x: auto;
      gap: 12px;
      scrollbar-width: none;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    .tabs-list::-webkit-scrollbar {
      display: none;
    }

    .payment-tabs-item {
      flex: 0 0 auto;
      scroll-snap-align: start;
    }

    .payment-tabs-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      width: 95px;
      min-width: 95px;
      height: 72px;
      border: 1.2px solid transparent;
      border-radius: 8px;
      background: #fff;
      cursor: pointer;
      transition: all var(--t);
      padding: 8px 4px;
    }

    .payment-tab-text {
      font-size: 10px;
      font-weight: 600;
      color: var(--gray-500);
      text-align: center;
      white-space: normal;
      line-height: 1.1;
      display: block;
    }

    .payment-tabs-item__active .payment-tab-text {
      color: #000;
    }

    .payment-tabs-item__active .payment-tabs-button {
      border-color: #333;
      background: #fff;
    }

    .payment-tabs-item__active .payment-tabs-button img,
    .payment-tabs-item__active .payment-tabs-button svg {
      filter: none !important;
      opacity: 1 !important;
    }

    .payment-tabs-button img,
    .payment-tabs-button svg {
      max-width: 85%;
      max-height: 65%;
      width: auto;
      height: auto;
      object-fit: contain;
      filter: grayscale(1);
      opacity: 0.5;
    }

    .swipe-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: -4px;
      margin-bottom: 20px;
      font-size: 13px;
      color: var(--gray-400);
    }

    .swipe-indicator span {
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }


    /* Payment method panels */
    .m-panel {
      display: none;
      margin-top: 14px;
      padding: 0 16px;
      /* Consistency with checkout-inner */
    }

    .m-panel.active {
      display: block;
    }

    .method-banner {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: #F5F3EF;
      border-radius: 6px;
      padding: 10px 12px;
      font-size: 13px;
      color: var(--gray-700);
    }

    .bi {
      font-size: 18px;
    }

    /* Credit card preview */
    .cc-visual {
      background: linear-gradient(135deg, #253f82, #355cc0);
      border-radius: 12px;
      padding: 20px;
      color: #fff;
      margin-bottom: 14px;
      aspect-ratio: 1.586/1;
      position: relative;
      overflow: hidden;
    }

    .cc-chip {
      width: 34px;
      height: 26px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 4px;
      margin-bottom: 16px;
    }

    .cc-num {
      font-size: 16px;
      letter-spacing: 2px;
      margin-bottom: 16px;
      font-family: monospace;
    }

    .cc-row {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
    }

    .cc-sub {
      opacity: .6;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .cc-val {
      font-weight: 600;
      font-size: 13px;
    }

    .cc-brand {
      position: absolute;
      right: 16px;
      top: 16px;
      font-size: 24px;
    }

    /* Bank / Wallet Selection Styles (PSE style) */
    .bank-selection-container {
      margin-top: 14px;
      margin-bottom: 20px;
    }

    .bank-selection-container {
      margin: 14px 0 20px;
      width: 100%;
      padding: 0 5px;
      /* Margem interna extra de segurança */
    }

    .bank-selection-container label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #464b52;
      margin-bottom: 6px;
    }

    .bank-selection-container select {
      width: 100%;
      height: 48px;
      padding: 0 40px 0 12px;
      border: 1px solid #c9ced4;
      border-radius: 4px;
      font-size: 14px;
      font-family: inherit;
      background-color: #fff;
      color: #333;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239EA4AC' stroke-width='2' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .bank-selection-container select:focus {
      outline: none;
      border-color: #333;
      box-shadow: 0 0 0 1px #333;
    }

    .wallet-logos-row {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
      padding: 0 4px;
    }

    .wallet-mini-logo {
      height: 24px;
      width: auto;
      object-fit: contain;
      opacity: 0.9;
    }

    /* ═══════════════════════════════════════════════════
       ORDER SUMMARY
       From: section data-testid="product-summary"
    ═══════════════════════════════════════════════════ */
    .order-summary-section {
      margin: 16px 0;
      padding: 0 16px;
    }

    .order-summary-list {
      list-style: none;
    }

    .order-summary-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      font-size: 13px;
      border-bottom: 1px solid var(--gray-200);
    }

    .order-summary-item:last-child {
      border-bottom: none;
    }

    .order-summary-item .item-name {
      font-weight: 600;
      flex: 1;
    }

    .order-summary-item .item-price {
      font-weight: 600;
      color: var(--gray-900);
      white-space: nowrap;
      padding-left: 8px;
    }

    .order-summary-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0 4px;
      font-size: 15px;
      font-weight: 800;
      color: var(--gray-900);
      border-top: 2px solid var(--gray-200);
      margin-top: 4px;
    }

    .order-summary-total span:last-child {
      white-space: nowrap;
      padding-left: 8px;
    }

    /* ═══════════════════════════════════════════════════
       ORDER BUMPS
       From: .order-bump { border: 1px solid var(--green) }
    ═══════════════════════════════════════════════════ */
    .bumps-section {
      padding: 24px 16px;
      border-top: 1px solid var(--gray-200);
    }

    .bumps-label {
      font-size: var(--text-1);
      font-weight: 700;
      color: var(--gray-500);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 10px;
    }

    .order-bump {
      border: 1px solid var(--green);
      border-radius: 6px;
      margin-bottom: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .order-bump:hover {
      background: #fdfdfd;
    }

    .order-bump--disabled {
      border-color: var(--gray-300);
    }

    .order-bump--disabled>*:not(.order-bump__button) {
      opacity: 0.5;
    }

    .order-bump__content {
      display: flex;
      gap: 20px;
      padding: 24px;
      align-items: flex-start;
    }

    .order-bump__img {
      width: 52px;
      height: 52px;
      border-radius: 4px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid var(--gray-200);
    }

    .order-bump__product-details {
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .order-bump__name {
      font-family: var(--font-serif);
      font-size: var(--text-base);
      font-weight: 700;
      color: var(--gray-900);
      margin-bottom: 4px;
    }

    .order-bump__line {
      height: 1px;
      background: var(--gray-200);
      margin: 12px 0;
    }

    .order-bump__description {
      font-size: var(--text-1);
      color: var(--gray-500);
      white-space: pre-wrap;
      font-family: var(--font);
      line-height: 1.4;
    }

    .order-bump__price {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: var(--text-2);
      font-weight: 700;
      color: var(--gray-900);
      margin-top: 6px;
    }

    .order-bump__price-original {
      font-size: var(--text-1);
      color: var(--gray-500);
      text-decoration: line-through;
    }

    .order-bump__button {
      padding: 14px 24px;
      background: var(--gray-100);
      border: none;
      border-top: 1px solid var(--gray-200);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-family: var(--font);
      font-weight: 600;
      color: var(--gray-700);
      width: 100%;
      text-align: left;
      border-radius: 0 0 6px 6px;
      transition: background var(--t);
    }

    .order-bump__button:hover {
      background: var(--gray-200);
    }

    .order-bump__check-box {
      width: 18px;
      height: 18px;
      border: 1.5px solid var(--gray-400);
      border-radius: 3px;
      background: #fff;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: #fff;
      transition: background var(--t), border-color var(--t);
    }

    .order-bump.selected .order-bump__check-box {
      background: var(--green);
      border-color: var(--green);
    }

    .order-bump.selected .order-bump__check-box::after {
      content: '✓';
    }

    .order-bump.selected .order-bump__button {
      background: var(--green-lightest);
    }

    .order-bump__add-product {
      flex: 1;
    }

    /* ═══════════════════════════════════════════════════
       PAYMENT BUTTON CONTAINER
    ═══════════════════════════════════════════════════ */
    .payment-button-container {
      padding: 12px 16px 4px;
    }

    /* CTA button: class="_bg-green _border-green hot-button payment-button _rounded _border _text-white _p-2 _w-full" */
    .payment-button {
      display: block;
      width: 100%;
      padding: var(--spacer-2);
      height: 48px;
      background: var(--green);
      border: 1px solid var(--green);
      border-radius: 4px;
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
      text-align: center;
      transition: background var(--t), opacity var(--t);
      line-height: 1;
    }

    .payment-button:hover {
      background: var(--green-dark);
      border-color: var(--green-dark);
    }

    .payment-button:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .payment-button--unavailable,
    .payment-button--unavailable:hover {
      background: #9e9e9e !important;
      border-color: #9e9e9e !important;
      color: #fff !important;
      cursor: not-allowed !important;
      opacity: 1 !important;
    }

    .payment-button.loading {
      opacity: 0.7;
      cursor: not-allowed;
    }

    .payment-button.loading::after {
      content: ' ⟳';
      display: inline-block;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      from {
        transform: rotate(0)
      }

      to {
        transform: rotate(360deg)
      }
    }

    /* ═══════════════════════════════════════════════════
       PROTEGIDO POR section
       From: div.container._d-flex._justify-content-center._text-1._mt-4._pb-6
    ═══════════════════════════════════════════════════ */
    .protegido-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 12px 16px 20px;
      font-size: var(--text-1);
      color: var(--gray-500);
    }

    .hotmart-logo-wrap {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .hotmart-flame {
      font-size: 14px;
    }

    .hotmart-wordmark {
      font-family: var(--font-serif);
      font-weight: 800;
      font-size: 13px;
      color: var(--gray-700);
      letter-spacing: -0.01em;
    }

    /* ═══════════════════════════════════════════════════
       FOOTER  (dark block from scrape)
    ═══════════════════════════════════════════════════ */
    .checkout-footer {
      background: #000;
      padding: 40px 16px;
      text-align: center;
      color: #fff;
    }

    .footer-container {
      max-width: 520px;
      margin: 0 auto;
    }

    .checkout-footer a {
      color: #fff;
      text-decoration: underline;
      font-size: 13px;
    }

    .checkout-footer p {
      color: #fff;
      font-size: 13px;
      margin-bottom: 12px;
      line-height: 1.4;
      overflow-wrap: break-word;
      /* Evita quebra de layout com textos longos */
    }

    .footer-cktid-block {
      background: #1a1a1a;
      padding: 10px 14px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: monospace;
      font-size: 11px;
      color: #fff;
      margin: 10px 0;
      border: 1px solid #333;
    }

    .footer-copy-icon {
      margin-left: 8px;
      cursor: pointer;
      opacity: 0.7;
      transition: opacity 0.2s;
    }

    .footer-copy-icon:hover {
      opacity: 1;
    }

    /* ═══════════════════════════════════════════════════
       RESULT / PAYMENT SCREENS
    ═══════════════════════════════════════════════════ */
    #pix-result,
    #voucher-result,
    #processing-screen {
      display: none;
    }

    #pix-result.active,
    #voucher-result.active,
    #processing-screen.active {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      min-height: 480px;
      padding: 24px;
    }

    .result-card {
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
      padding: 32px;
      background: #fff;
      border: 1px solid var(--gray-100);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
      border-radius: 20px;
      text-align: center;
    }

    .result-title {
      font-size: 24px;
      font-weight: 800;
      color: var(--gray-900);
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }

    .pix-qr {
      text-align: center;
      margin: 16px 0;
    }

    .pix-qr img {
      width: 200px;
      height: 200px;
      border: 1px solid var(--gray-200);
      border-radius: 8px;
    }

    .copy-box {
      display: flex;
      gap: 8px;
      margin-top: 12px;
    }

    .copy-box input {
      flex: 1;
      padding: 10px 12px;
      border: 1px solid var(--gray-300);
      border-radius: 4px;
      font-size: 12px;
      font-family: monospace;
      background: var(--gray-100);
      color: var(--gray-700);
    }

    .copy-btn {
      padding: 10px 14px;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 13px;
      font-family: var(--font);
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .copy-btn--success {
      background: #28a745 !important;
      transform: scale(1.05);
      box-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
    }

    .countdown {
      font-size: 13px;
      color: var(--gray-500);
      text-align: center;
      margin-top: 10px;
    }

    /* ═══════════════════════════════════════════════════
       HIDDEN / UTIL
    ═══════════════════════════════════════════════════ */
    .hidden {
      display: none !important;
    }

    .row2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .mt8 {
      margin-top: 8px;
    }

    @media(max-width:400px) {
      .row2 {
        grid-template-columns: 1fr;
      }

      .tabs-list {
        flex-wrap: nowrap;
      }
    }

    .security-lock-icon {
      width: 14px;
      height: 14px;
      margin-right: 4px;
      vertical-align: middle;
      display: inline-block;
    }
/* Address Section Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}


#section-address {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 2px solid #572ee5;
  padding-left: 15px;
  background: #fcfcfc;
  border-radius: 0 8px 8px 0;
  pointer-events: none;
  margin: 0;
}

#section-address.show {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  margin: 15px 0;
  padding-top: 10px;
  padding-bottom: 5px;
  pointer-events: auto;
}

