/* ==========================================================
   Checkout — camada visual por cima do style.css
   Mesmo desenho do checkout de referência (coluna única centralizada,
   campos grandes, selos e rodapé enxuto) nas cores do Modão de Ouro.
   ========================================================== */

:root {
    --c3-width: 560px;
    --c3-radius: 14px;
    --c3-border: #E4E9E6;
    --c3-text: #1B1F1D;
    --c3-muted: #6B7280;
    --c3-accent: #166534;
    --c3-accent-soft: #ECF8EF;
    --c3-accent-line: #BFE5CB;
    --c3-gold: #16A34A;
    --c3-gold-deep: #15803D;
    --c3-green: #15803D;
    --c3-green-deep: #166534;
    --c3-bg: #F4F6F5;
}

body { background: var(--c3-bg); color: var(--c3-text); }

/* Largura única pra header, banner e formulário ficarem alinhados */
.header-content,
.checkout-banner,
.container { max-width: var(--c3-width); }
.header-content { padding: 12px 16px; gap: 12px; }
.container { padding: 14px 16px 8px; }

/* ---------- Header: couro → café, selo "Pagamento Protegido" em pílula ---------- */
.header .logo-img { height: auto; width: auto; min-width: 0; flex: 0 1 auto; max-height: 38px; max-width: min(60%, 260px); }
.secure-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #BFE5CB;
    box-shadow: 0 1px 2px rgba(21, 128, 61, 0.08);
}
.secure-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ECF8EF;
    color: #15803D;
    flex-shrink: 0;
}
.secure-icon-badge svg { display: block; width: 18px; height: 18px; color: #15803D; }
.secure-text { line-height: 1.15; }
.secure-text-top { font-size: 11px; font-weight: 600; color: #15803D; }
.secure-text-bottom { font-size: 13px; font-weight: 800; color: #166534; letter-spacing: -0.01em; }

/* ---------- Faixa do cupom (linha única) ----------
   Mesmo vermelho quente do cronômetro da página do Pix, igual à referência. */
.promo-banner { padding: 11px 16px; background: linear-gradient(180deg, #DE5544 0%, #C8402F 100%); border-bottom: 0; }
.promo-banner-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: var(--c3-width);
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.promo-banner-simple i { color: #fff; font-size: 15px; }
.promo-banner-simple b { font-weight: 800; color: #fff; }
.promo-banner-simple strong {
    display: inline-block;
    min-width: 3.1em;
    margin-left: 2px;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Banner */
.checkout-banner { padding: 0 16px; }
.checkout-banner img {
    margin-top: 14px;
    border-radius: var(--c3-radius);
    aspect-ratio: 1983 / 793;
    box-shadow: 0 10px 28px rgba(18, 6, 42, 0.18);
}

/* ---------- Barra de progresso (só no modo 3 etapas) ---------- */
.stepper {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 2px 0 14px;
    padding: 0;
}
.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.stepper-item + .stepper-item::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #D5E3DA;
    z-index: 0;
    transition: background 0.3s;
}
.stepper-item.is-active + .stepper-item::before,
.stepper-item.is-done + .stepper-item::before { background: linear-gradient(90deg, var(--c3-accent), #D5E3DA); }
.stepper-item.is-done + .stepper-item.is-active::before,
.stepper-item.is-done + .stepper-item.is-done::before { background: var(--c3-accent); }
.stepper-dot {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    color: #9CA3AF;
    border: 2px solid #D5E3DA;
    transition: all 0.3s;
}
.stepper-label { font-size: 12px; font-weight: 600; color: #9CA3AF; transition: color 0.3s; }
.stepper-item.is-active .stepper-dot {
    background: var(--c3-accent);
    border-color: var(--c3-accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.16);
}
.stepper-item.is-active .stepper-label { color: var(--c3-text); font-weight: 700; }
.stepper-item.is-done .stepper-dot { background: var(--c3-green); border-color: var(--c3-green); color: transparent; }
.stepper-item.is-done .stepper-dot::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 6px;
    border-left: 2.4px solid #fff;
    border-bottom: 2.4px solid #fff;
    transform: translateY(-1px) rotate(-45deg);
}
.stepper-item.is-done .stepper-label { color: var(--c3-green); }
body.checkout-one-step .stepper { display: none; }

/* ---------- Cards das etapas ---------- */
.card {
    border-radius: var(--c3-radius);
    border: 1px solid var(--c3-border);
    box-shadow: 0 1px 2px rgba(18, 6, 42, 0.04), 0 6px 18px rgba(18, 6, 42, 0.05);
    margin-bottom: 12px;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.card:has(.step-content.open) {
    border-color: var(--c3-accent-line);
    box-shadow: 0 1px 2px rgba(18, 6, 42, 0.04), 0 10px 26px rgba(21, 128, 61, 0.10);
}
.step-header { padding: 16px 18px; gap: 12px; }
.step-header:hover { background: #fff; }
/* Ícone da etapa: quadradinho arredondado */
.step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #F3F5F4;
    color: #9CA3AF;
    border: 1px solid #E4E9E6;
    font-size: 15px;
}
.step-number i { font-size: 15px; line-height: 1; }
.step-number.active,
.step-number.completed { background: var(--c3-accent-soft); color: var(--c3-accent); border-color: var(--c3-accent-line); }
.step-title { font-size: 16px; font-weight: 700; color: var(--c3-text); }
.step-title.inactive { color: #9CA3AF; }
.step-check { color: var(--c3-green); }
.step-edit { color: var(--c3-accent); font-size: 13px; }
.step-content { padding: 2px 18px 20px; }

/* 1 etapa: todas as seções abertas, sem destaque em todas ao mesmo tempo */
body.checkout-one-step .container { padding-top: 14px; }
body.checkout-one-step .card:has(.step-content.open) {
    border-color: var(--c3-border);
    box-shadow: 0 1px 2px rgba(18, 6, 42, 0.04), 0 6px 18px rgba(18, 6, 42, 0.05);
}
body.checkout-one-step .step-number { background: var(--c3-accent-soft); color: var(--c3-accent); border-color: var(--c3-accent-line); }
body.checkout-one-step .step-title.inactive { color: var(--c3-text); }

/* ---------- Campos: altura boa pro dedo e 16px (iOS não dá zoom) ---------- */
.form-group { margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-label span { color: #9CA3AF; font-weight: 500; }
.form-input,
.form-select {
    min-height: 50px;
    padding: 13px 14px;
    font-size: 16px;
    border: 1.5px solid #DCE3DF;
    border-radius: 10px;
    background: #fff;
    color: var(--c3-text);
}
.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #15803D;
    box-shadow: none;
}
.form-input.valid { border-color: #A7D9B6; background: #fff; }
.form-grid-2 { column-gap: 12px; row-gap: 0 !important; }
.form-grid-2 .form-group { margin-bottom: 14px; }

/* ---------- Endereço: campos à mostra, travados até o CEP ---------- */
.address-fields { display: block; opacity: 1; transform: none; }
.address-fields.is-locked .form-input,
.address-fields.is-locked .form-select {
    background: #F5F7F6;
    border-color: #E6EBE8;
    color: #9CA3AF;
    cursor: not-allowed;
}
.address-fields.is-locked .form-label { color: #9CA3AF; }
.address-fields.is-locked .sn-toggle { opacity: 0.5; pointer-events: none; }
.address-fields.is-locked .form-input::placeholder { color: #C3CAC6; }
.address-fields:not(.is-locked) .form-input,
.address-fields:not(.is-locked) .form-select { transition: background 0.3s, border-color 0.3s; }
.field-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--c3-muted);
}
.field-hint::before {
    content: "i";
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    background: var(--c3-accent);
}
.field-hint[hidden] { display: none; }
.form-input.error ~ .field-hint { display: none; }
#step2Content.is-confirmed .address-fields { display: none; }
/* Endereço mais curto no celular: pares lado a lado */
#addressFields .form-grid-2 { grid-template-columns: 2fr 1fr; }
#addressFields > .form-grid-2:nth-child(3) { grid-template-columns: 1fr 1.6fr; }
#addressFields .form-select { padding-right: 28px; text-overflow: ellipsis; }

/* ---------- Botões (limpos, sem brilho) ---------- */
.btn { min-height: 54px; border-radius: 11px; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; }
.btn-pix { min-height: 58px; font-size: 17px; background: var(--c3-green); color: #fff; }
.btn-pix:hover { background: var(--c3-green-deep); }
.btn,
.btn:hover,
.btn-primary,
.btn-primary:hover,
.btn-pix,
.btn-pix:hover,
.coupon-cta,
.modal-btn { box-shadow: none !important; }
.btn-primary:hover,
.btn-pix:hover { transform: none; }
.btn-content .fa-pix { font-size: 18px; line-height: 1; }

/* ---------- Pagamento ---------- */
.payment-method-selector { margin-top: 10px; }
.payment-method-option { border-radius: 12px; border-width: 1.5px; min-height: 76px; justify-content: center; }
.payment-method-option:hover { background: var(--c3-accent-soft); }
.pix-info-box { border-radius: 12px; background: #F7FBF9; border-color: var(--c3-border); }
.pix3-info { gap: 10px; padding: 14px; }
.pix3-info-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #4B5563;
}
.pix3-info-line strong { color: var(--c3-text); font-weight: 700; }
.pix3-info-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--c3-green); }
.pix3-info-line + .pix3-info-line .pix3-info-icon { color: var(--c3-accent); }

.order-bumps { margin-bottom: 16px; }
.purchase-summary-box { border-radius: 12px; box-shadow: none; border-color: var(--c3-border); }
.purchase-summary-item { background: #F8FAF9; border-color: #EDF1EF; }
#summaryBumpItems .purchase-summary-item { background: #F8FAF9; border-color: #EDF1EF; }
/* Linha embaixo do nome no resumo */
.purchase-summary-subtitle { display: block; margin-top: -2px; font-size: 12.5px; font-weight: 500; color: var(--c3-muted); line-height: 1.3; }
.purchase-summary-total-value { white-space: nowrap; }
.purchase-summary-total-label { min-width: 0; }
.purchase-summary-coupon-note { font-size: 11px; font-weight: 500; font-style: italic; color: #166534; }
.purchase-summary-coupon-note[hidden] { display: none; }
.coupon-applied-tag { max-width: 100%; }

/* ---------- Selos após o botão de pagar ---------- */
.trust-seals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.trust-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px 10px;
    border: 1px solid var(--c3-border);
    border-radius: 12px;
    background: #FBFDFC;
    text-align: center;
}
.trust-seal-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.trust-seal-icon svg { width: 19px; height: 19px; }
/* Os 3 selos no mesmo verde do checkout */
.trust-seal-icon.is-green,
.trust-seal-icon.is-brand,
.trust-seal-icon.is-gold { background: #ECF8EF; color: #15803D; }
.trust-seal-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.trust-seal-text b { font-size: 11.5px; font-weight: 700; color: var(--c3-text); white-space: nowrap; }
.trust-seal-text small { font-size: 10.5px; color: var(--c3-muted); margin-top: 2px; white-space: nowrap; }

/* ---------- Rodapé enxuto: OmegaPay primeiro, links embaixo ---------- */
.footer-compact {
    max-width: var(--c3-width);
    margin: 6px auto 0;
    padding: 14px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-compact-processor { order: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-compact-processor span { font-size: 11.5px; color: var(--c3-muted); }
.footer-compact-processor img { height: 26px; width: auto; display: block; }
.footer-compact-links {
    order: 2;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--c3-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    font-size: 12px;
    color: #B3A08A;
}
.footer-compact-links a { color: var(--c3-muted); text-decoration: none; font-weight: 500; }
.footer-compact-links a:hover { color: var(--c3-accent); text-decoration: underline; }
.footer-compact-links > span:last-child { color: var(--c3-muted); font-weight: 500; }

/* ---------- Cupom: bilhete ---------- */
.coupon-overlay { background: rgba(18, 6, 42, 0.62); }
.coupon-box { max-width: 380px; padding: 32px 24px 24px; }
.coupon-gift-icon { width: 44px; height: 44px; margin: 0 auto 14px; display: block; color: var(--c3-gold-deep); }
.coupon-title { font-size: 20px; color: var(--c3-text); line-height: 1.25; }
.coupon-lead { color: #4B5563; margin-bottom: 18px; }
.coupon-ticket {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0 auto 20px;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--c3-border);
    box-shadow: 0 6px 16px rgba(18, 6, 42, 0.08);
}
.coupon-ticket-value {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #166534 0%, #12062A 100%);
    color: #F5D99C;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.01em;
    padding: 16px 6px;
}
.coupon-ticket-code {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #F7FAF8;
    border-left: 2px dashed #C5D9CB;
    padding: 16px 10px;
}
.coupon-ticket-code-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c3-muted); }
.coupon-ticket-code-value { font-size: 15px; font-weight: 800; color: var(--c3-accent); letter-spacing: 0.04em; }
.coupon-ticket::before,
.coupon-ticket::after {
    content: '';
    position: absolute;
    left: 42%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.coupon-ticket::before { top: -7px; }
.coupon-ticket::after { bottom: -7px; }
.coupon-cta { background: var(--c3-green); animation: none; }
.coupon-cta:hover { background: var(--c3-green-deep); }

/* ---------- Tela "Gerando seu Pix" ---------- */
.loading-screen {
    background: radial-gradient(120% 70% at 50% 0%, #EEF3F0 0%, #F8FAF9 55%, #F4F6F5 100%);
    padding: 24px 20px;
}
.loading-card {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.loading-logo { height: 40px; width: auto; margin-bottom: 30px; }
.loading-orb {
    position: relative;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(21, 128, 61, 0.20);
}
.loading-orb .loading-ring {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    border: 3px solid #DDEFE2;
    border-top-color: #32bcad;
    border-right-color: #32bcad;
    border-radius: 50%;
}
.loading-orb i { font-size: 32px; color: #32bcad; }
.loading-title { font-size: 1.4rem; color: var(--c3-text); }
.loading-hint { margin-top: 6px; color: var(--c3-muted); }

/* ---------- Telas pequenas ---------- */
@media (max-width: 480px) {
    .header-content { padding: 10px 14px; }
    .header .logo-img { max-height: 30px; max-width: 58%; }
    .secure-icon { padding: 4px 10px 4px 4px; gap: 6px; }
    .secure-icon-badge { width: 26px; height: 26px; }
    .secure-icon-badge svg { width: 16px; height: 16px; }
    .secure-text-top { font-size: 10px; }
    .secure-text-bottom { font-size: 12px; }
    .promo-banner { padding: 9px 12px; }
    .promo-banner-simple { font-size: 13.5px; }
    .container { padding: 12px 12px 6px; }
    .checkout-banner { padding: 0 12px; }
    .checkout-banner img { margin-top: 12px; border-radius: 12px; }
    .step-header { padding: 14px 16px; }
    .step-content { padding: 2px 16px 18px; }
    .form-input, .form-select { font-size: 16px; padding: 12px 13px; }
    .btn { min-height: 52px; font-size: 16px; }
    .btn-pix { min-height: 56px; }
}
@media (max-width: 360px) {
    .header-content { padding: 10px 12px; gap: 8px; }
    .header .logo-img { max-width: 52%; }
    .secure-icon { padding: 3px 9px 3px 3px; gap: 5px; }
    .secure-icon-badge { width: 24px; height: 24px; }
    .secure-text-bottom { font-size: 11.5px; }
    .promo-banner-simple { font-size: 13px; gap: 6px; }
    .stepper-label { font-size: 11px; }
    .trust-seal-text small { display: none; }
}
@media (max-width: 380px) {
    .coupon-applied-tag { display: inline-block; font-size: 10px; padding: 4px 7px; line-height: 1.35; }
    .coupon-applied-tag svg { display: inline-block; vertical-align: -2px; margin-right: 3px; }
    .purchase-summary-discount .purchase-summary-total-label { display: flex; flex-direction: column; line-height: 1.25; }
    .purchase-summary-coupon-note { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .loading-orb .loading-ring { animation: none; }
}

/* ---------- Seletor: selo de desconto no PIX (verde, texto branco) ---------- */
.payment-method-option { position: relative; overflow: visible; padding-top: 18px; }
.pm-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 3px 9px;
    border-radius: 999px;
    background: #15803D;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
    border: 2px solid #fff;
}
.pm-badge[hidden] { display: none; }
.payment-method-option.selected .pm-badge { border-color: #fff; }

/* ---------- Avaliações: nota em destaque ---------- */
.testimonials-score {
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 6px 0 16px;
    border-bottom: 1px solid #EDF1EF;
}
.testimonials-score-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.testimonials-score-number {
    font-size: 52px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--c3-text);
}
.testimonials-score-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-left: 14px;
    border-left: 1px solid var(--c3-border);
}
.testimonials-score-stars { gap: 3px; font-size: 17px; color: #F5A623; }
.testimonials-score-total { font-size: 13.5px; font-weight: 600; color: #4B5563; white-space: nowrap; }
.testimonials-score-total b { font-weight: 800; color: var(--c3-text); }
.testimonials-score-meta { font-size: 12.5px; color: var(--c3-muted); }

/* Nome + "Compra verificada" na mesma linha, data embaixo */
.testimonial-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.testimonial-name-row .testimonial-name { font-size: 14px; font-weight: 700; color: var(--c3-text); line-height: 1.2; }
.testimonial-verified { color: #15803D; }
.testimonial-card .testimonial-date { display: block; margin-top: 3px; font-size: 11.5px; color: #9CA3AF; }
@media (max-width: 360px) {
    .testimonials-score-number { font-size: 44px; }
    .testimonials-score-main { gap: 10px; }
    .testimonials-score-side { padding-left: 10px; }
    .testimonials-score-total { font-size: 12.5px; }
}

/* ==========================================================
   Order bumps: um bloco só (cabeçalho preso + ofertas dentro)
   CTA em 1ª pessoa ("Sim, quero receber junto!") e confirmação ao marcar.
   ========================================================== */
.order-bumps {
    margin: 16px 0;
    padding: 0;
    border: 1.5px dashed #15803D;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.order-bumps-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 11px 14px 10px;
    border: 0;
    border-radius: 0;
    background: #ECF8EF;
    border-bottom: 1.5px dashed #15803D;
    color: #166534;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}
.order-bumps-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}
.order-bumps-title svg { width: 18px; height: 18px; flex-shrink: 0; }
.order-bumps-sub { display: none; }

.order-bumps .order-bump-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.order-bumps .order-bump-card + .order-bump-card { border-top: 1.5px dashed #BFE5CB; }
.order-bumps .order-bump-card:has(.order-bump.selected) {
    border-style: dashed;
    background: #F7FCF8;
    box-shadow: inset 4px 0 0 #15803D;
}
.order-bumps .order-bump { padding: 14px 14px 12px; background: transparent; }
.order-bumps .order-bump.selected { background: transparent; }

/* CTA do bump: botão verde contornado; marcado = verde cheio */
.order-bumps .bump-add {
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 12px;
    padding: 10px 14px;
    border: 2px solid #15803D;
    border-radius: 11px;
    background: #F7FCF8;
    color: #166534;
    font-size: 15px;
    font-weight: 800;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.order-bumps .order-bump:active .bump-add { transform: scale(0.985); }
.order-bumps .bump-native-check { width: 20px; height: 20px; min-width: 20px; min-height: 20px; accent-color: #166534; }
.bump-add-on { display: none; }
.order-bump.selected .bump-add {
    background: #15803D;
    border-color: #15803D;
    color: #fff;
}
.order-bump.selected .bump-native-check { accent-color: #fff; }
.order-bump.selected .bump-add-off { display: none; }
.order-bump.selected .bump-add-on { display: inline; }
/* Chama atenção de leve enquanto ninguém marcou */
@keyframes bumpNudge {
    0%, 86%, 100% { transform: translateX(0); }
    89% { transform: translateX(-3px); }
    92% { transform: translateX(3px); }
    95% { transform: translateX(-2px); }
}
.order-bump:not(.selected) .bump-add { animation: bumpNudge 4.5s ease-in-out 2s infinite; }
@media (prefers-reduced-motion: reduce) {
    .order-bump:not(.selected) .bump-add { animation: none; }
}
@media (max-width: 360px) {
    .order-bumps .bump-add { font-size: 14px; }
    .order-bumps-title { font-size: 13.5px; }
}

/* ==========================================================
   Dentro dos cards: verde no lugar do marrom (o marrom fica só no
   cabeçalho, faixa, banner e fundo). Sobrepõe cores fixas do style.css.
   ========================================================== */
.payment-method-option:hover { border-color: #15803D; background: #F7FCF8; }
.payment-method-option.selected { border-color: #166534; background: #166534; box-shadow: 0 0 0 1px #166534; }
.step-check { color: #15803D; }
.sn-toggle.active { background: #166534; }
.cep-loading { border-top-color: #166534; }
.delivery-confirmation { background: #F7FAF8; border-color: #BFE5CB; }
.delivery-confirmation-icon { background: #166534; }
.delivery-confirmation-title { color: #166534; }
.summary-title { border-bottom-color: #166534; }
.summary-product-price { color: #166534; }
.incentive-text span { color: #166534; }
.modal-pix-icon { color: #32bcad; }
.modal-shield-icon { color: #166534; }
.modal-text { color: #4B5563; }
.testimonial-card { border-color: #E8ECEA; }
.testimonial-text { color: #374151; }
.testimonial-like:hover, .testimonial-like.liked { color: #166534; background: #ECF8EF; border-color: #BFE5CB; }
.purchase-summary-header span,
.purchase-summary-total-label,
.purchase-summary-name { color: #1F2937; }

/* ==========================================================
   Verde único do checkout (#15803D botões/selos · #166534 textos e
   selecionados · #ECF8EF fundos). Sobrepõe verdes antigos do style.css.
   ========================================================== */
.coupon-applied-tag { background: #ECF8EF; color: #166534; }
.purchase-summary-discount .purchase-summary-total-value,
.purchase-summary-coupon-note,
.purchase-summary-price-now { color: #166534; }
.bump-title { color: #166534; }
.bump-price-new { color: #166534; }
.bump-discount { background: #15803D; }
.bump-native-check { accent-color: #166534; }
.bump-native-check:focus-visible { outline-color: #15803D; }
.purchase-verified { color: #15803D; }
.order-bumps .order-bump-card + .order-bump-card { border-top-color: #BFE5CB; }

/* Spinner do CEP: dentro do campo, centralizado na vertical à direita */
.cep-field { position: relative; }
.cep-field .form-input { padding-right: 44px; }
.cep-field .cep-loading {
    position: absolute;
    top: 50%;
    right: 14px;
    bottom: auto;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2.5px solid #E5E9E7;
    border-top-color: #15803D;
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
}
/* O erro continua aparecendo logo abaixo do campo */
.cep-field:has(.form-input.error) + .error-message { display: block; }
.cep-group:has(.form-input.error) .field-hint { display: none; }

/* ==========================================================
   Branding do pagamento (01/10): verde-garrafa profundo + dourado
   da marca. Seletor sem bloco chapado, selo dourado, botões nítidos.
   ========================================================== */
:root {
    --br-green: #15803D;
    --br-green-deep: #166534;
    --br-green-soft: #ECF8EF;
    --br-green-line: #BFE5CB;
    --br-gold: #D9A944;
    --br-gold-deep: #16A34A;
    --br-espresso: #170833;
}

/* Seletor de pagamento: cartão claro com borda + check no canto */
.payment-method-selector { gap: 10px; margin-top: 14px; }
.payment-method-option {
    min-height: 84px;
    padding: 20px 10px 12px;
    gap: 7px;
    border: 1.5px solid #DDE3E0;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}
.payment-method-option:hover { border-color: var(--br-green-line); background: #FAFCFB; }
.payment-method-option.selected {
    border: 2px solid var(--br-green);
    background: var(--br-green-soft);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.12);
}
.payment-method-option .pm-label { font-size: 13.5px; font-weight: 700; color: #374151; }
.payment-method-option.selected .pm-label { color: var(--br-green-deep); font-weight: 800; }
.payment-method-option .pm-card-icon { color: #9AA3A0; }
.payment-method-option.selected .pm-card-icon { color: var(--br-green); }
.payment-method-option::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #CDD5D1;
    background: #fff;
    box-sizing: border-box;
}
.payment-method-option.selected::after {
    border-color: var(--br-green);
    background: var(--br-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* Selo do Pix em dourado (cor da marca) */
.pm-badge {
    top: -11px;
    padding: 3px 10px;
    background: linear-gradient(180deg, #FFE14A 0%, var(--br-gold-deep) 100%);
    color: var(--br-espresso);
    font-size: 10.5px;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
}

/* Caixa de informação do Pix: neutra, ícones na cor da marca */
.pix-info-box.pix3-info { background: #F8FAF9; border: 1px solid #E2ECE5; }
.pix3-info-icon,
.pix3-info-line + .pix3-info-line .pix3-info-icon { color: var(--br-gold-deep); }

/* Botões principais */
.btn-pix,
.coupon-cta {
    background: linear-gradient(180deg, #2dbb2f 0%, var(--br-green-deep) 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 0;
}
.btn-pix:hover,
.coupon-cta:hover { background: linear-gradient(180deg, #15803D 0%, #208622 100%); }
.btn-pix:active,
.coupon-cta:active { transform: scale(0.99); }
.btn-pix .btn-content { gap: 10px; }
.btn-primary { background: var(--br-espresso); color: #FFFDF0; font-weight: 800; }
.btn-primary:hover { background: #14532D; }
.btn-primary:disabled { background: #CFC6BC; color: #fff; }

/* Order bumps: borda contínua e discreta, cabeçalho com faixa */
.order-bumps { border: 1.5px dashed #A7D9B6; }
.order-bumps-header { border-bottom: 1.5px dashed #A7D9B6; background: var(--br-green-soft); color: var(--br-green-deep); }
.bump-discount { background: linear-gradient(180deg, #FFE14A 0%, var(--br-gold-deep) 100%); color: var(--br-espresso); }

/* ---------- Tela "Gerando seu Pix" ---------- */
.loading-orb .loading-ring { border-color: #DDEFE2; border-top-color: var(--br-gold-deep); border-right-color: var(--br-gold-deep); }
.loading-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--br-espresso); }
.loading-hint { margin: 8px auto 0; max-width: 270px; font-size: 0.94rem; line-height: 1.45; font-weight: 500; color: #5B6560; }
.loading-steps {
    list-style: none;
    width: 100%;
    max-width: 290px;
    margin: 22px auto 0;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #E2ECE5;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(21, 128, 61, 0.10);
    text-align: left;
}
.loading-step {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #A39383;
}
.loading-step + .loading-step { border-top: 1px solid #EEF3F0; }
.loading-step-dot {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #E3D8C8;
    box-sizing: border-box;
}
/* 1º passo: concluído */
.loading-step.is-done { color: var(--br-espresso); }
.loading-step.is-done .loading-step-dot {
    border-color: var(--br-green);
    background: var(--br-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* 2º passo: em andamento */
.loading-step.is-active { color: var(--br-espresso); }
.loading-step.is-active .loading-step-dot {
    border-color: #DDEFE2;
    border-top-color: var(--br-gold-deep);
    animation: loadingSpin 0.8s linear infinite;
}
.loading-secure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #8A7A6B;
}
.loading-secure svg { width: 13px; height: 13px; color: var(--br-green); flex-shrink: 0; }
.loading-orb { margin-bottom: 20px; }
.loading-logo { margin-bottom: 26px; }
@media (max-height: 640px) {
    .loading-logo { margin-bottom: 16px; }
    .loading-orb { width: 70px; height: 70px; margin-bottom: 14px; }
    .loading-steps { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .loading-step.is-active .loading-step-dot { animation: none; }
}
@media (max-width: 360px) {
    .payment-method-option::after { top: auto; bottom: 8px; right: 8px; width: 16px; height: 16px; }
    .pm-badge { font-size: 10px; padding: 3px 8px; }
}

/* ==========================================================
   Alinhado à LP (01/10 v2): café/couro/dourado na interface;
   verde vivo só no botão de compra, igual ao CTA da LP.
   ========================================================== */
.btn-pix,
.coupon-cta {
    background: #2dbb2f !important;
    color: #fff;
    border: 1px solid #39C43C !important;
    box-shadow: 0 4px 0 #208622, 0 8px 22px rgba(45, 187, 47, 0.16) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.btn-pix:hover,
.coupon-cta:hover { background: #28a92a !important; }
.btn-pix:active,
.coupon-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #208622 !important; }

/* Ícones das etapas: quadradinho café com ícone dourado (como a LP) */
.step-number,
.step-number.active,
.step-number.completed,
body.checkout-one-step .step-number {
    background: linear-gradient(180deg, #23104A 0%, #12062A 100%);
    color: #FFE14A;
    border: 1px solid #166534;
}
.step-check { color: #15803D; }
.form-input:focus, .form-select:focus { border-color: #16A34A; }

/* Linha logo abaixo do botão */
.pay-secure-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #5B6560;
}
.pay-secure-line svg { width: 13px; height: 13px; color: #15803D; flex-shrink: 0; }

/* Testemunhos: título como prova social */
#step4Card .step-title { font-size: 17px; font-weight: 800; color: #12062A; }

/* ---------- Rodapé organizado (café, como o rodapé da LP) ---------- */
.checkout-footer {
    max-width: none;
    margin: 18px 0 0;
    padding: 26px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    background: #12062A;
    color: #FFE14A;
}
.checkout-footer > * { width: 100%; max-width: calc(var(--c3-width) - 32px); }
.checkout-footer .trust-seals { order: 0; margin: 0 0 20px; gap: 8px; }
.checkout-footer .trust-seal { background: rgba(255, 249, 239, 0.04); border: 1px solid rgba(255, 225, 74, 0.28); }
.checkout-footer .trust-seal-icon.is-green,
.checkout-footer .trust-seal-icon.is-brand,
.checkout-footer .trust-seal-icon.is-gold { background: rgba(255, 225, 74, 0.16); color: #FFE14A; }
.checkout-footer .trust-seal-text b { color: #FCFDFC; }
.checkout-footer .trust-seal-text small { color: #B9AED6; }
.checkout-footer .footer-compact-processor {
    order: 1;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 225, 74, 0.22);
    border-bottom: 1px solid rgba(255, 225, 74, 0.22);
}
.checkout-footer .footer-compact-processor span { color: #B9AED6; }
.checkout-footer .footer-compact-processor img { height: 24px; padding: 6px 12px; box-sizing: content-box; background: #fff; border-radius: 8px; }
.checkout-footer .footer-compact-links { order: 2; margin-top: 14px; padding-top: 0; border-top: 0; color: #8E83AC; }
.checkout-footer .footer-compact-links a,
.checkout-footer .footer-compact-links > span:last-child { color: #FFE14A; }
.checkout-footer .footer-compact-links a:hover { color: #fff; }
.footer-copy { order: 3; margin: 10px 0 0; font-size: 11.5px; color: #8E83AC; text-align: center; }

/* Valores em verde (branding de preço), cupom em verde */
.purchase-summary-total-value,
.purchase-summary-price-now,
.purchase-summary-discount .purchase-summary-total-value,
.purchase-summary-coupon-note,
.summary-product-price,
.summary-total-value,
.bump-price-new { color: #1E9E3A; }
.coupon-applied-tag { background: #E6F7E6; color: #1E9E3A; }
.coupon-applied-tag svg { color: #1E9E3A; fill: currentColor; }

/* Carregamento enxuto: logo, ícone girando e título */
.loading-orb { margin-bottom: 18px; }
.loading-title { margin: 0; }

/* Botão "apertado" enquanto gera o Pix: escuro, afundado, spinner + texto */
.btn-loading-text { display: none; }
#generatePixBtn.btn-loading {
    background: #1B6E1D !important;
    border-color: #1B6E1D !important;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(3px);
    cursor: progress;
    text-shadow: none;
}
#generatePixBtn.btn-loading .btn-spinner-wrapper { gap: 10px; width: auto; height: auto; }
#generatePixBtn.btn-loading .btn-spinner { width: 20px; height: 20px; border-width: 2.5px; border-color: rgba(255, 255, 255, 0.3); border-top-color: #fff; }
#generatePixBtn.btn-loading .btn-loading-text { display: inline; color: #fff; font-size: 16px; font-weight: 800; }
#generatePixBtn { font-family: inherit; }
.checkout-footer .footer-brand { order: -1; width: auto; max-width: 150px; height: auto; margin: 0 auto 18px; display: block; }
.footer-copy { line-height: 1.6; }
.footer-cnpj { display: inline-block; margin-top: 2px; color: #FFE14A; font-weight: 600; font-size: 12px; }

/* Recebedor do Pix no rodapé (Kivo Solutions) — no lugar do logo da OmegaPay */
.footer-processor-name {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    background: #fff;
    color: #1B1F1D;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
/* Kivo Solutions em selo verde */
.footer-processor-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2dbb2f 0%, #1e9e3a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(45, 187, 47, 0.28);
}
.footer-processor-name::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2.2 4.5 5.1v5.6c0 4.7 3.1 8.9 7.5 10.1 4.4-1.2 7.5-5.4 7.5-10.1V5.1L12 2.2Z'/%3E%3Cpath d='m8.6 11.9 2.3 2.3 4.5-4.6' fill='none' stroke='%231e9e3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bloco do processador desativado no rodapé */
.footer-compact-processor { display: none !important; }

/* CNPJ logo abaixo da marca do rodapé, um pouco maior */
.checkout-footer .footer-cnpj-top {
    order: -1;
    display: block;
    width: auto;
    margin: -8px auto 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}


/* ==========================================================
   Disco de Ouro: selos em amarelo neon com texto noite
   ========================================================== */
.pm-badge,
.bump-discount {
    background: #FFE14A !important;
    color: #12062A !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

/* ==========================================================
   Disco de Ouro — checkout "pagamento seguro" (07/10):
   topo/rodapé roxo-noite da marca; miolo branco + verde.
   ========================================================== */
body { background: #F4F6F5; }

/* Ícones das etapas: verde suave com ícone verde */
.step-number,
.step-number.active,
.step-number.completed,
body.checkout-one-step .step-number {
    background: #ECF8EF !important;
    color: #16A34A !important;
    border: 1px solid #BFE5CB !important;
}
.step-check { color: #16A34A; }
.form-input:focus, .form-select:focus { border-color: #16A34A; }

/* Seleção Pix: borda e check verdes */
.payment-method-option.selected {
    border-color: #16A34A !important;
    background: #F2FBF4 !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12) !important;
}
.payment-method-option.selected .pm-label,
.payment-method-option.selected .pm-card-icon { color: #15803D !important; }
.payment-method-option.selected::after { border-color: #16A34A !important; background-color: #16A34A !important; }

/* Selos de desconto: verde com texto branco */
.pm-badge,
.bump-discount {
    background: linear-gradient(180deg, #22B455 0%, #15803D 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.28) !important;
}

/* Bloco dos bumps: verde suave */
.order-bumps { border-color: #9FD6B0 !important; }
.order-bumps-header { background: #ECF8EF !important; border-bottom-color: #9FD6B0 !important; color: #166534 !important; }
.order-bumps .bump-add { border-color: #16A34A !important; color: #15803D !important; background: #F2FBF4 !important; }
.order-bump.selected .bump-add { background: #16A34A !important; border-color: #16A34A !important; color: #fff !important; }
.order-bumps .order-bump-card:has(.order-bump.selected) { background: #F2FBF4 !important; box-shadow: inset 4px 0 0 #16A34A !important; }
.bump-title { color: #166534 !important; }

/* Caixa de informação do Pix e linha de segurança: ícones verdes */
.pix-info-box.pix3-info { background: #F7FCF8 !important; border-color: #DDEFE2 !important; }
.pix3-info-icon,
.pix3-info-line + .pix3-info-line .pix3-info-icon,
.pay-secure-line svg { color: #16A34A !important; }

/* Selo "Pagamento Protegido" do topo continua branco com verde */
.header .secure-icon-badge, .header .secure-icon-badge svg { color: #16A34A; }

/* Selos de confiança do rodapé: cartão branco com ícone verde */
.checkout-footer .trust-seal {
    background: #fff !important;
    border: 1px solid #DDEFE2 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.checkout-footer .trust-seal-icon,
.checkout-footer .trust-seal-icon.is-green,
.checkout-footer .trust-seal-icon.is-brand,
.checkout-footer .trust-seal-icon.is-gold {
    background: #ECF8EF !important;
    color: #16A34A !important;
}
.checkout-footer .trust-seal-text b { color: #12062A !important; }
.checkout-footer .trust-seal-text small { color: #5B6560 !important; }
