  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    font-family: var(--font-dm);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    background: white;
    color: var(--text);
    margin: 0;
    min-height: 0;
  }

  .checkout-container {
    background-color: var(--bg);
    font-family: var(--font-dm);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  header {
    background-color: rgba(255,255,255,1);
  }
  .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    height: auto;
    position: relative;
  }
  .header-logo img {
    width: 110px;
    height: 60px;
    object-fit: contain;
  }
  .header-seal { flex-shrink: 0; }

  .notice-bar { background: var(--notice-bar-bg, #00a651); color: #fff; text-align: center; padding: 10px 16px; }
  .notice-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
  .notice-bar p { font-size: 14px; font-weight: 500; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0; }
  @media (min-width: 1024px) { .notice-bar p { font-size: 16px; } }
  .notice-bar .timer, .countdown-bar-timer-group .timer { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
  .countdown-bar-timer-group { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
  .countdown-bar-timer-group svg { flex-shrink: 0; display: block; }

  main.main-content {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  .banner-wrapper {
    width: 100%;
    text-align: center;
  }
  .banner-wrapper img {
    width: 1668px;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }

  .content-area {
    flex: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px 10px;
    width: 100%;
    overflow-x: hidden;
  }
  @media (min-width: 640px) { .content-area { padding-left: 16px; padding-right: 16px; } }
  @media (min-width: 1024px) { .content-area { padding-left: 32px; padding-right: 32px; padding-bottom: 24px; } }

  .steps-mobile {
    display: block;
    margin-top: 24px;
    margin-bottom: 0;
  }
  @media (min-width: 1024px) { .steps-mobile { display: none; } }

  .steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 4px;
  }
  .steps-line {
    position: absolute;
    top: 20px;
    left: 0; right: 0;
    height: 4px;
    background: #E5E7EB;
    z-index: 0;
  }
  .steps-line-fill {
    height: 100%;
    width: 0%;
    background-color: var(--step-accent);
    transition: width 0.5s ease;
  }
  .step-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 33.333%;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
  }
  .step-btn[disabled] { cursor: default; }
  .step-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 2px;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .step-icon.active { background-color: var(--step-accent); color: white; }
  .step-icon.inactive { background: #E5E7EB; color: #9CA3AF; }
  .step-label {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s;
  }
  .step-label.active { color: var(--step-accent); }
  .step-label.inactive { color: #9CA3AF; font-weight: 400; }
  @media (min-width: 640px) { .step-label { font-size: 12px; } }

  .mobile-cart {
    display: block;
    margin-bottom: 16px;
    overflow-x: hidden;
  }
  @media (min-width: 1024px) { .mobile-cart { display: none; } }

  .mobile-cart-box {
    margin-top: 24px;
    width: 100%;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }
  .mobile-cart-btn {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    overflow-x: hidden;
    font-family: inherit;
  }
  .mobile-cart-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .mobile-cart-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-cart-count { font-size: 10px; color: #8e8e8e; font-weight: 500; flex-shrink: 0; }
  .mobile-cart-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .mobile-cart-total { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }

  .checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  @media (max-width: 1023px) {
    .col-left, .col-center { width: 100%; min-width: 0; }
  }
  @media (min-width: 1024px) {
    .checkout-grid {
      display: grid;
      grid-template-columns: 390px 390px 353px;
      align-items: start;
      gap: 24px;
      margin-top: 32px;
      width: auto;
      max-width: fit-content;
    }
    .col-left, .col-center, .col-right { min-width: 0; }
  }
  .dudu-testimonial-outer { width: 100%; min-width: 0; }

  .card {
    padding: 16px;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
  }
  @media (min-width: 640px) { .card { padding: 20px; } }
  @media (min-width: 1024px) { .card { padding: 24px; } }

  .card-header { margin-bottom: 16px; }
  @media (min-width: 640px) { .card-header { margin-bottom: 20px; } }

  .card-title {
    font-size: 18px;
    text-transform: initial;
    font-weight: 700;
    line-height: 21px;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .card-title-inner { display: flex; align-items: center; gap: 4px; color: #262626; }
  .step-badge {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    color: white;
    border-radius: 8px;
    margin-right: 4px;
    flex-shrink: 0;
  }
  .card-subtitle {
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.4;
    color: #8e8e8e;
  }

  .form-fields { display: flex; flex-direction: column; gap: 20px; }
  .form-group { display: flex; flex-direction: column; }
  label.field-label {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-family: var(--font-dm);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
  }
  .field-input {
    display: flex;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: white;
    padding: 0 16px;
    font-size: 13px;
    height: 45px;
    width: 100%;
    outline: none;
    font-family: var(--font-dm);
    color: #111827;
    transition: border-color 0.2s;
  }
  .field-input::placeholder { color: #6B7280; font-size: 13px; }
  .field-input:focus { border-color: var(--primary); }

  .phone-wrapper {
    position: relative;
    width: 100%;
    height: 45px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
  }
  .phone-flag-btn {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #6B7280;
    transition: background 0.15s;
  }
  .phone-flag-btn:hover { background: #f9fafb; }
  .phone-flag-btn img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
  .phone-input {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    padding-left: 79px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-family: var(--font-dm);
    color: #111827;
    width: 100%;
  }
  .phone-input::placeholder { color: #6B7280; font-size: 13px; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: var(--btn);
    border: 1px solid var(--btn);
    border-radius: 8px;
    color: var(--btn-text);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-dm);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    animation: btnPulse 2s infinite;
  }
  .btn-primary:hover { opacity: 0.92; }
  .btn-primary:active { transform: scale(0.99); }

  @keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn) 55%, transparent); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
  }

  .col-left, .col-center {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  @media (min-width: 1024px) { .col-left, .col-center { gap: 24px; } }

  .testimonial-card {
    padding: 24px;
    border: 1px solid rgba(107, 114, 128, 0.02);
    border-radius: 8px;
    background: #FFFFFF;
  }
  .testimonial-inner { display: flex; align-items: flex-start; gap: 16px; }
  .testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .testimonial-body { flex: 1; min-width: 0; }
  .testimonial-top { display: flex; align-items: center; justify-content: space-between; }
  .testimonial-name { font-weight: 500; color: #111827; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .testimonial-date { color: rgba(17,24,39,0.5); font-size: 14px; flex-shrink: 0; margin-left: 8px; }
  .stars { display: flex; align-items: center; gap: 2px; margin-top: 4px; }
  .testimonial-text { margin-top: 12px; color: rgba(17,24,39,0.8); font-size: 14px; }
  .dudu-testimonial-outer.dudu-trust-custom .testimonial-name,
  .dudu-testimonial-outer.dudu-trust-custom .testimonial-text { color: inherit; }
  .dudu-testimonial-outer.dudu-trust-custom .testimonial-date { color: inherit; opacity: 0.65; }

  .col-right { display: none; }
  @media (min-width: 1024px) {
    .col-right {
      display: flex;
      flex-direction: column;
      gap: 24px;
      position: sticky;
      top: 24px;
      align-self: start;
    }
  }

  .sidebar-card {
    border-radius: 8px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    background: #FFFFFF;
    width: 100%;
  }
  .sidebar-title {
    font-family: var(--font-dm);
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #262626;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .sidebar-title span { font-weight: 700; }

  .coupon-label {
    display: block;
    font-family: var(--font-dm);
    font-weight: 400;
    font-size: 13px;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
  }
  .coupon-row { display: flex; align-items: center; gap: 8px; }
  .coupon-input-wrap { position: relative; flex: 1; }
  .coupon-icon {
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: #9CA3AF;
    pointer-events: none;
    z-index: 10;
  }
  .coupon-input {
    width: 100%;
    outline: none;
    appearance: none;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    box-sizing: border-box;
    color: #333;
    font-family: var(--font-dm);
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    padding: 10px 20px 10px 40px;
    transition: all 0.4s;
  }
  .coupon-apply {
    height: 36px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 400;
    color: #4f3429;
    font-family: var(--font-dm);
    border-radius: 5px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
  }

  .cart-resume {
    background: #f4f6f8;
    border-radius: 4px;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: var(--font-dm);
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
  }
  .cart-resume-rows { display: flex; flex-direction: column; gap: 12px; }
  .cart-row { display: flex; justify-content: space-between; align-items: center; }
  .cart-row-label { font-family: var(--font-dm); font-weight: 500; font-size: 12px; color: #333; line-height: 1.4; }
  .cart-row-value { font-family: var(--font-dm); font-weight: 500; font-size: 12px; color: #333; line-height: 1.4; text-align: right; }
  .cart-row-total {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cart-total-label { font-family: var(--font-dm); font-weight: 700; font-size: 16px; color: var(--green); line-height: 1.2; }
  .cart-total-value { font-family: var(--font-dm); font-weight: 700; font-size: 16px; color: var(--green); line-height: 1.2; text-align: right; }

  .product-row { display: flex; gap: 12px; }
  .product-img-wrap { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
  .product-img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
  .product-info { flex: 1; min-width: 0; }
  .product-name { font-family: var(--font-dm); font-weight: 400; font-size: 12px; color: #333; line-height: 1; margin-bottom: 8px; }
  .product-bottom { display: flex; align-items: center; justify-content: space-between; }
  .product-price { font-family: var(--font-dm); font-weight: 500; font-size: 13px; color: #333; line-height: 1; }

  .qty-selector {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
  }
  .qty-btn {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: #9CA3AF;
    transition: opacity 0.15s;
    padding: 0;
    font-family: inherit;
  }
  .qty-btn:disabled { opacity: 0.4; cursor: default; }
  .qty-btn:hover:not(:disabled) { opacity: 0.7; }
  .qty-input {
    width: 32px; height: 24px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-dm);
    font-weight: 500;
    font-size: 13px;
    color: #333;
    line-height: 1;
    outline: none;
  }

  .dudu-post-grid {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px 10px;
    box-sizing: border-box;
  }
  @media (min-width: 640px) { .dudu-post-grid { padding-left: 16px; padding-right: 16px; } }
  @media (min-width: 1024px) { .dudu-post-grid { padding-left: 32px; padding-right: 32px; padding-bottom: 16px; } }

  .dudu-faq-outer {
    width: 100%;
    margin-top: 0;
    padding: 20px 0 28px;
    background: #F9FAFB;
    box-sizing: border-box;
  }
  @media (min-width: 1024px) {
    .dudu-faq-outer { padding-top: 24px; padding-bottom: 32px; }
  }
  .dudu-faq-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
  }
  @media (min-width: 640px) { .dudu-faq-inner { padding-left: 16px; padding-right: 16px; } }
  @media (min-width: 1024px) { .dudu-faq-inner { padding-left: 32px; padding-right: 32px; } }

  .faq-section {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    width: 100%;
  }
  .faq-title { font-size: 18px; font-weight: 500; color: #111827; margin-bottom: 16px; }
  .faq-list { display: flex; flex-direction: column; gap: 0; }
  .faq-item { border-bottom: 1px solid #E5E7EB; }
  .faq-item:first-child { border-top: 0; }
  .faq-q {
    width: 100%;
    text-align: left;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .faq-q h4 { font-size: 14px; font-weight: 500; color: #000; flex: 1; }
  .faq-chevron { color: #6B7280; flex-shrink: 0; transition: transform 0.3s; }
  .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .faq-answer.open { max-height: 400px; opacity: 1; }
  .faq-answer p { font-size: 14px; color: #000; white-space: pre-wrap; padding-bottom: 16px; }
  .faq-chevron.open { transform: rotate(180deg); }

  footer.dudu-page-footer {
    background-color: var(--footer-bg);
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 500;
    font-family: var(--font-dm);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px;
  }
  .footer-content { display: flex; flex-direction: column; gap: 24px; }
  .footer-payments { display: flex; flex-direction: column; gap: 12px; }
  .footer-pay-title { text-align: center; font-size: 14px; font-weight: 500; color: var(--footer-text); }
  .footer-pay-icons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
  .footer-pay-icons img { height: 24px; width: auto; }
  .footer-legal { text-align: center; color: var(--footer-text); font-size: 14px; line-height: 1.5em; }
  .footer-seal { display: flex; justify-content: center; align-items: center; color: var(--footer-text); }

  svg { display: inline-block; }

  .hidden { display: none !important; }
  .flex { display: flex; }
  .items-center { align-items: center; }
  .justify-between { justify-content: space-between; }
  .gap-2 { gap: 8px; }
  .min-w-0 { min-width: 0; }
  .flex-1 { flex: 1; }
  .flex-shrink-0 { flex-shrink: 0; }
  .w-full { width: 100%; }
  .mb-4 { margin-bottom: 16px; }
  .mb-5 { margin-bottom: 20px; }
  .mt-4 { margin-top: 16px; }

  .card-empty { min-height: 0; }

  /* —— runtime checkout (formas de pagamento, erros, frete, Pix) —— */
  .field-error-msg { display: none; font-size: 11px; color: #dc2626; margin-top: 4px; font-weight: 500; }
  .field-error-msg.visible { display: block; }
  .field-input.has-error { border-color: #dc2626 !important; }
  .phone-wrapper.phone-wrap-error { border-color: #dc2626 !important; }
  .phone-input.has-error { box-shadow: inset 0 0 0 1px #dc2626 !important; }

  .dudu-ds-edit-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #0f172a;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    flex-shrink: 0;
    margin-left: 12px;
  }
  .dudu-ds-edit-btn:hover { color: #000; }
  .dudu-ds-edit-btn svg { flex-shrink: 0; }
  .step-card-body { display: none; flex-direction: column; }
  .step-card.active .step-card-body { display: flex; }
  .step-done-summary { display: none; }
  .step-done-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 8px;
    gap: 8px;
  }
  .step-done-text { flex: 1; min-width: 0; }
  .step-done-primary { font-size: 13px; font-weight: 600; color: #111827; }
  .step-done-muted { font-size: 12px; color: #8e8e8e; margin-top: 2px; }
  .step-done-summary .ship-label { font-weight: 600; color: #111827; margin-top: 8px; display: block; font-size: 13px; }
  .step-card.done .step-done-summary { display: block; }
  .step-card.done .step-card-body { display: none; }
  .step-card.done .card-subtitle { display: none !important; }

  .payment-card .payment-card-header { margin-bottom: 0; }
  .payment-card.active .payment-card-body { display: block; }
  .payment-card.collapsed .payment-card-body { display: none; }
  .payment-card-body {
    padding-top: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .cep-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
  .cep-field { flex: 0 0 155px; display: flex; flex-direction: column; gap: 7px; }
  .cep-input-wrap { position: relative; display: flex; align-items: center; }
  #cepCheck { position: absolute; right: 11px; pointer-events: none; display: none; color: var(--green); flex-shrink: 0; }
  #cepStateInfo { display: none; align-items: center; font-size: 13px; font-weight: 600; color: #6B7280; padding-bottom: 8px; white-space: nowrap; }
  .row-2col { display: flex; gap: 12px; }
  .row-2col > * { flex: 1; min-width: 0; }
  @media (max-width: 1023px) {
    .row-2col { flex-direction: column; }
  }
  .shipping-options-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
  .shipping-options { display: flex; flex-direction: column; gap: 8px; }
  .shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
  }
  .shipping-option:hover { border-color: var(--primary); }
  .shipping-option.selected { border-color: var(--primary); background: rgba(72,41,15,0.03); }
  .shipping-option-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .shipping-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
  }
  .shipping-option.selected .shipping-radio { border-color: var(--primary); }
  .shipping-radio-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: none; }
  .shipping-option.selected .shipping-radio-dot { display: block; }
  .shipping-name { font-size: 13px; font-weight: 600; color: #111827; }
  .shipping-days { font-size: 11px; color: #8e8e8e; margin-top: 1px; }
  .shipping-price { font-size: 13px; font-weight: 600; color: #111827; white-space: nowrap; margin-left: 8px; }
  .shipping-price.free { color: var(--green); }
  #addressFormSection { display: none; flex-direction: column; gap: 14px; }
  #addressFormSection.visible { display: flex; }
  #freightSection { display: flex; flex-direction: column; gap: 20px; }
  @media (max-width: 1023px) {
    .cep-row { flex-direction: column; align-items: stretch; }
    .cep-field { flex: none; width: 100%; max-width: 220px; }
  }

  .pix-wrap {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .pix-corner-badge { position: absolute; top: 0; right: 0; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 11px 4px 13px; border-bottom-left-radius: 8px; line-height: 1; }
  .pix-method-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .pix-radio-outer { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; }
  .pix-radio-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
  .pix-method-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
  .pix-details-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .pix-name { font-size: 14px; font-weight: 700; color: #111827; }
  .pix-approval { font-size: 12px; font-weight: 600; color: var(--green); }
  .pix-divider { height: 1px; background: #F3F4F6; margin: 0 16px; }
  .pix-fields { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
  .pix-info-row { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #6B7280; line-height: 1.5; }
  .pix-value-highlight { font-weight: 700; color: #111827; }
  .pix-btn-row { padding: 0 16px 16px; }
  .btn-finalizar {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 50px;
    background: var(--btn); color: var(--btn-text); font-size: 14px; font-weight: 600; border: none; border-radius: 8px;
    cursor: pointer; font-family: var(--font-dm);
  }
  .pix-wrap.deselected .pix-radio-outer { border-color: #D1D5DB; }
  .pix-wrap.deselected .pix-radio-dot { display: none; }
  .pix-wrap.deselected .pix-divider { display: none; }
  .pix-wrap.deselected .pix-details-wrap {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .modal-overlay .btn-primary { animation: none; }

  #pixSuccessScreen.ps-container {
    display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; max-width: 74rem; margin: 0 auto; padding: 40px 20px; box-sizing: border-box;
    font-family: var(--font-dm); background: #fff; min-height: 0; overflow-y: auto;
  }
  .ps-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 26px; max-width: 400px; width: 100%;
    text-align: center; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03); margin: 0 auto;
  }
  .ps-title { font-size: 26px; font-weight: 600; color: #3e3e3e; margin-bottom: 8px; margin-top: 4px; line-height: 1.25; }
  .ps-subtitle { font-size: 14px; color: #717171; font-weight: 500; margin-bottom: 0; line-height: 1.5; }
  .ps-timer-emphasis { font-weight: 700; color: #2f2f2f; }
  .ps-illustration { margin: 16px auto 0; width: 192px; height: 192px; display: block; }
  .ps-status-badge {
    display: inline-flex; align-items: center; background: #FFF9DB; color: #A67C00;
    font-weight: 600; font-size: 14px; border-radius: 30px; padding: 8px 24px; margin-top: 14px; margin-bottom: 10px; border: none;
  }
  .ps-qr-wrapper { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
  .ps-qr-label { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
  .ps-qr-img { width: 200px; height: 200px; margin: 0 auto; display: block; }
  .ps-code-input {
    width: 100%; height: 46px; padding: 0 12px; border: 1px dashed #6b7280; border-radius: 8px; font-size: 13px;
    color: #3e3e3e; background: white; opacity: 0.5; cursor: default; outline: none; margin-bottom: 12px;
    text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: left;
  }
  .ps-copy-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px 0; background: #22c55e; color: white;
    border: none; border-radius: 6px; font-size: 17px; font-weight: 700; cursor: pointer; gap: 10px; margin-bottom: 12px; transition: background 0.15s;
  }
  .ps-copy-btn:hover { background: #16a34a; }
  .ps-valor { font-size: 15px; font-weight: 400; color: #3e3e3e; margin-bottom: 14px; }
  .ps-valor strong { color: #22c55e; font-weight: 700; }
  .ps-hr { border: none; border-top: 1px dashed #d1d5db; margin-bottom: 14px; }
  .ps-instructions { text-align: left; }
  .ps-instructions h3 { font-size: 15px; font-weight: 600; color: #1f2937; margin-bottom: 12px; }
  .ps-step { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: #3e3e3e; }
  .ps-step-num {
    width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: #22c55e; color: white;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
  }
  #pixExpiredPanel .ps-title-expired { font-size: 27px; font-weight: 600; color: #2f2f2f; margin-top: 6px; margin-bottom: 8px; line-height: 1.22; }
  #pixExpiredPanel .ps-subtitle-expired { font-size: 14px; color: #6b7280; font-weight: 500; line-height: 1.55; margin-bottom: 14px; }
  .ps-exp-illustration { position: relative; width: 192px; height: 192px; margin: 0 auto 2px; display: flex; align-items: center; justify-content: center; }
  .ps-exp-illustration img { width: 192px; height: 192px; object-fit: contain; filter: grayscale(100%) opacity(0.34); }
  .ps-clock-overlay {
    position: absolute; bottom: 10px; right: 10px; width: 52px; height: 52px; background: #FFF7ED; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  }
  .ps-product-box {
    background: #F8F8F8; border: 1px solid #E5E7EB; border-radius: 8px; padding: 13px 14px; margin-bottom: 12px;
    text-align: left; display: flex; align-items: center; gap: 12px;
  }
  .ps-product-thumb {
    width: 48px; height: 48px; min-width: 48px; border-radius: 6px; background: #ECECEC;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .ps-product-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ps-product-thumb-ph { width: 100%; height: 100%; align-items: center; justify-content: center; display: flex; }
  .ps-product-thumb-ph svg { opacity: 0.45; }
  .ps-product-info { flex: 1; min-width: 0; text-align: left; }
  .ps-product-label-exp { font-size: 11px; font-weight: 600; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.04em; }
  .ps-product-name-exp { font-size: 14px; font-weight: 700; color: #3e3e3e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ps-product-price-exp { font-size: 13px; color: #6b7280; margin-top: 2px; }
  .ps-valor-box-expired { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
  .ps-valor-label-expired { font-size: 14px; color: #717171; font-weight: 500; }
  .ps-valor-amount-expired { font-size: 22px; font-weight: 700; color: #16a34a; letter-spacing: -0.02em; }
  .ps-gen-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px 0; background: #22c55e; color: white;
    border: none; border-radius: 6px; font-size: 17px; font-weight: 700; cursor: pointer; gap: 10px; margin-bottom: 10px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  }
  .ps-gen-btn:hover { background: #16a34a; }
  .ps-gen-btn.loading { pointer-events: none; opacity: 0.85; }
  .ps-gen-spinner {
    display: none; width: 20px; height: 20px; flex-shrink: 0;
    border: 2.5px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; animation: psSpin 0.7s linear infinite;
  }
  .ps-gen-btn.loading .ps-gen-spinner { display: block; }
  @keyframes psSpin { to { transform: rotate(360deg); } }
  .ps-security-note { font-size: 12px; color: #94a3b8; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 5px; }
  .ps-instructions-muted h3 { font-size: 15px; font-weight: 600; color: #1f2937; margin-bottom: 12px; }
  .ps-step-muted { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: #6b7280; line-height: 1.45; }
  .ps-step-num-muted {
    width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: #e5e7eb; color: #6b7280;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  }

  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center;
    z-index: 1000; padding: 20px; box-sizing: border-box;
  }
  .modal-content { background: #fff; width: 100%; max-width: 400px; border-radius: 8px; padding: 24px; text-align: center; }
  .pix-qr-img { width: 220px; height: 220px; margin: 20px auto; border: 1px solid #E5E7EB; padding: 10px; border-radius: 8px; display: block; }
  .pix-code-scroll { background: #f8fafc; padding: 12px; border-radius: 8px; font-size: 11px; font-family: ui-monospace, monospace; word-break: break-all; margin-bottom: 20px; text-align: left; }

  .dudu-hidden-recap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }