* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

button,
input,
select {
    font: inherit;
}

.topbar,
.mp-header {
    background: #fff;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    height: 56px;
    min-height: 56px;
}

.brand-wrap,
.mp-header-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 70px 0 64px;
}

.eyebrow,
.powered-by {
    display: none;
}

.mp-logo-img {
    height: 92px;
    width: auto;
    display: block;
}

.brand-wrap h1,
.panel-summary h2,
.step h2,
.step-title-main {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #333;
}

.brand-wrap h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2940;
}

.layout,
.checkout-layout {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 40px 20px;
    display: grid;
    grid-template-columns: minmax(450px, 600px) 320px;
    gap: 16px;
    align-items: start;
    justify-content: center;
    width: 100%;
    flex: 1 0 auto;
}

.panel-form,
.panel-summary,
.card,
.method-card,
.method-item,
.result-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.panel-form {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.panel-summary {
    padding: 0;
    position: sticky;
    top: 10px;
    overflow: hidden;
    align-self: start;
}

.progress {
    width: 100%;
    height: 4px;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 18px;
}

.progress-global {
    margin: 0 0 16px;
    background: transparent;
}

.panel-form,
.col-left {
    padding-top: 0;
    margin-top: 0;
}

.panel-summary,
.col-right {
    margin-top: 72px;
}

body[data-checkout-step="method"] .panel-summary,
body[data-checkout-step="method"] .col-right {
    margin-top: 58px;
}

body[data-checkout-step="result"] .panel-summary,
body[data-checkout-step="result"] .col-right {
    margin-top: 12px;
}

.progress-bar,
.progress-bar-inner {
    width: 0;
    height: 100%;
    background: #009ee3;
    transition: width 0.25s ease;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-kicker {
    display: none;
    margin-bottom: 10px;
    color: #929292;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.step h2,
.step-title-main {
    margin: 8px 0 22px;
    font-size: 25px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.step-text {
    display: none;
}

.method-list {
    display: flex;
    flex-direction: column;
}

.method-card,
.method-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
    min-height: 68px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    background: #fff;
}

.method-card:first-child,
.method-item:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.method-card:last-child,
.method-item:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom: 0;
}

.method-copy,
.method-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.method-card strong,
.method-name {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.method-copy span,
.method-sub {
    margin-top: 3px;
    color: #9a9a9a;
    font-size: 13px;
}

.method-icon {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}

.method-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.method-chevron,
.method-arrow {
    color: #999;
    font-size: 26px;
    line-height: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: none;
    border: 0;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 14px;
}

.field-row > .field-group {
    margin-top: 0;
    min-width: 0;
    height: 100%;
}

.field-row > .field-group label {
    align-items: flex-end;
    min-height: 18px;
}

.field-row > .field-group:nth-child(2) {
    padding-top: 1px;
}

.field-group.small {
    max-width: 150px;
}

.field-group label {
    display: flex;
    align-items: flex-end;
    font-size: 13px;
    font-weight: 400;
    color: #8d8d8d;
    line-height: 1.25;
    min-height: 18px;
}

.field-group input,
.field-group select,
.mp-field {
    width: 100%;
    height: 52px;
    min-height: 52px;
    border: 1px dashed #cfcfcf;
    border-radius: 6px;
    padding: 0 16px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input,
.field-group select {
    font-size: 15px;
    color: #333;
}

.installments-native-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.installments-dropdown {
    position: relative;
}

.installments-dropdown-trigger {
    width: 100%;
    min-height: 56px;
    border: 1px dashed #cfcfcf;
    border-radius: 6px;
    background: #fff;
    padding: 10px 42px 10px 16px;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.installments-dropdown-trigger-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.installments-dropdown.is-selected .installments-dropdown-trigger-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.installments-dropdown-trigger-main {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
}

.installments-dropdown-trigger-badge {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    color: #00a650;
    font-weight: 400;
    white-space: nowrap;
}

.installments-dropdown-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9b9b9b;
    transition: transform 0.2s ease;
}

.installments-dropdown.open .installments-dropdown-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.installments-dropdown.open .installments-dropdown-trigger,
.installments-dropdown-trigger:focus-visible {
    outline: none;
    border-color: #3483fa;
    box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.14);
}

.installments-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.installments-dropdown.open .installments-dropdown-panel {
    display: block;
}

.installments-dropdown-item {
    width: 100%;
    border: 0;
    border-top: 1px solid #ececec;
    background: #fff;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
}

.installments-dropdown-item:first-child {
    border-top: 0;
}

.installments-dropdown-item-main {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
}

.installments-dropdown-item-sub {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.2;
    color: #00a650;
    font-weight: 400;
}

.installments-dropdown-item-sub-muted {
    color: #666;
}

.installments-dropdown-item:hover,
.installments-dropdown-item.selected {
    background: #fbfdff;
}

.field-group input::placeholder {
    color: #c0c0c0;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #3483fa;
    box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.14);
}

.mp-field iframe {
    width: 100% !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
}

.mp-field {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 16px;
}

.mp-field:focus-within {
    border-color: #3483fa;
    box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.14);
}

.document-row {
    display: grid;
    grid-template-columns: 102px 1fr;
}

.doc-toggle {
    border: 1px dashed #cfcfcf;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #119be6;
    font-weight: 700;
    font-size: 17px;
}

.document-row input {
    border-radius: 0 6px 6px 0;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.step-actions {
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 18px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: #009ee3;
    color: #fff;
    border-color: #009ee3;
    box-shadow: 0 1px 2px rgba(0, 158, 227, 0.28);
}

.btn-secondary {
    background: #fff;
    color: #009ee3;
    border-color: #009ee3;
    box-shadow: 0 1px 2px rgba(0, 158, 227, 0.12);
}

.btn[disabled] {
    opacity: 0.75;
    cursor: wait;
}

.summary-kicker {
    display: none;
}

.merchant-logo {
    padding: 18px 22px;
    border-bottom: 1px solid #e9e9e9;
}

.merchant-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.merchant-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.merchant-favicon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.merchant-brand-name {
    font-size: 17px;
    line-height: 1.15;
    font-weight: 600;
    color: #333333;
    max-width: 240px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.payment-details {
    padding: 24px 26px 8px;
}

#step-card {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

#step-card h2 {
    margin-bottom: 18px;
}

#step-customer,
#step-address {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

#step-card .step-kicker,
#step-customer .step-kicker,
#step-address .step-kicker {
    display: block;
}

#step-card h2,
#step-customer h2,
#step-address h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

#step-card .field-group:first-of-type,
#step-customer .field-group:first-of-type,
#step-address .field-group:first-of-type {
    margin-top: 0;
}

.step-form-box {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#step-card .field-group input,
#step-card .field-group select,
#step-card .mp-field,
#step-customer .field-group input,
#step-customer .field-group select,
#step-address .field-group input,
#step-address .field-group select {
    height: 52px;
    min-height: 52px;
}

#step-card .field-group.small,
#step-customer .field-group.small,
#step-address .field-group.small {
    max-width: none;
}

.payment-details-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 900;
    color: #1f1f1f;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.detail-row-stack {
    display: block;
}

.detail-row-stack > span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #555;
}

.summary-description {
    margin: 6px 0 0;
    color: #777;
    line-height: 1.45;
    font-size: 12px;
}

.summary-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 26px 22px;
    padding-top: 0;
    border-top: 0;
}

.summary-price span {
    font-size: 15px;
    color: #555;
}

.summary-price strong {
    font-size: 15px;
    font-weight: 400;
}

.checkout-footer {
    margin-top: auto;
    padding: 28px 40px 16px;
    width: 100%;
}

.checkout-footer-inner {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 14px;
    border-top: 1px solid #dddddd;
}

.checkout-footer-inner p {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #7c7c7c;
}

.summary-box {
    border-radius: 0;
    background: #f7f7f7;
    padding: 10px 14px;
    color: #666;
    line-height: 1.5;
    border: 0;
    border-top: 1px solid #e9e9e9;
    font-size: 11px;
}

.card .card-body {
    padding: 24px;
}

.step .card {
    overflow: hidden;
}

.step-buttons,
.actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.btn-voltar,
.btn-continuar,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 48px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 16px;
}

.btn-voltar,
.btn-secondary {
    background: #fff;
    color: #009ee3;
    border-color: #009ee3;
}

.btn-continuar,
.btn-primary {
    background: #009ee3;
    color: #fff;
    border-color: #009ee3;
}

.input-with-prefix {
    display: grid;
    grid-template-columns: 74px 1fr;
}

.input-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid #cfcfcf;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
}

.input-with-prefix input {
    border-radius: 0 6px 6px 0;
}

.optional {
    color: #999;
    font-weight: 400;
}

.summary-box code {
    display: block;
    margin-top: 8px;
    color: #333;
    word-break: break-word;
}

.notice {
    margin-bottom: 18px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 6px;
}

.notice.error {
    color: #d1242f;
    background: #fff0f0;
    border: 1px solid #f1c5c8;
}

.result {
    padding-top: 12px;
}

.result-card {
    border-radius: 6px;
    padding: 24px;
}

.result-card.success {
    border: 1px solid #d8e2ee;
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(20, 33, 61, 0.07);
}

.approved-receipt {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.approved-receipt-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 20px 16px;
    padding: 16px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, #009ee3 0%, #35b4ec 100%);
    color: #ffffff;
}

.approved-receipt-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.approved-receipt-check {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    display: block;
}

.approved-receipt-check::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    width: 16px;
    height: 9px;
    border: solid #00a650;
    border-width: 0 0 5px 5px;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 2px;
}

.approved-receipt-status {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.approved-receipt-status strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.approved-receipt-status span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.25;
}

.approved-receipt-body {
    padding: 6px 46px 24px;
}

.approved-receipt-body h3 {
    margin: 0;
    color: #18212f;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.approved-receipt-body p {
    margin: 14px 0 0;
    color: #5d6879;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.approved-receipt-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e1e8f0;
}

.approved-receipt-footer span:first-child {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.approved-receipt-footer small {
    color: #8d9aab;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.approved-receipt-footer strong {
    color: #18212f;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.approved-receipt-badge {
    min-width: 160px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #e9f8ef;
    color: #00a650;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
}

.result-card.pending {
    border-color: #ecd39a;
    background: #fffaf0;
}

.result-card.analysis {
    border: 1px solid #d8e2ee;
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(120, 73, 0, 0.07);
}

.analysis-receipt {
    background: #ffffff;
}

.analysis-receipt-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 20px 16px;
    padding: 16px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
}

.analysis-receipt-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.analysis-receipt-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    display: block;
}

.analysis-receipt-mark::before {
    content: "!";
    position: absolute;
    left: 50%;
    top: 50%;
    color: #d97706;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    transform: translate(-50%, -54%);
}

.analysis-receipt-mark::after {
    content: none;
}

.analysis-receipt-status {
    display: flex;
    flex-direction: column;
}

.analysis-receipt-status strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.analysis-receipt-body {
    padding: 6px 46px 24px;
}

.analysis-receipt-body h3 {
    margin: 0;
    color: #18212f;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.analysis-receipt-body p {
    margin: 14px 0 0;
    color: #5d6879;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.analysis-receipt-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e1e8f0;
}

.analysis-receipt-footer span:first-child {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.analysis-receipt-footer small {
    color: #8d9aab;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.analysis-receipt-footer span:first-child strong {
    color: #18212f;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.analysis-receipt-badge {
    min-width: 160px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #fff4d6;
    color: #b45309;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
}

.result-card.rejected {
    border: 1px solid #d8e2ee;
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(79, 35, 35, 0.07);
}

.rejected-receipt {
    background: linear-gradient(180deg, #ffffff 0%, #fffdfc 100%);
}

.rejected-receipt-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 20px 16px;
    padding: 16px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #ffffff;
}

.rejected-receipt-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.rejected-receipt-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    display: block;
}

.rejected-receipt-mark::before,
.rejected-receipt-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 5px;
    border-radius: 999px;
    background: #f04438;
    transform-origin: center;
}

.rejected-receipt-mark::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rejected-receipt-mark::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rejected-receipt-status {
    display: flex;
    flex-direction: column;
}

.rejected-receipt-status strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.rejected-receipt-body {
    padding: 6px 46px 24px;
}

.rejected-receipt-body h3 {
    margin: 0;
    color: #18212f;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.rejected-receipt-body p {
    margin: 14px 0 0;
    color: #5d6879;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.rejected-receipt-reason {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff7f5;
    border: 1px solid #f6d7d2;
}

.rejected-receipt-reason small {
    display: block;
    margin-bottom: 8px;
    color: #b45345;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.rejected-receipt-reason strong {
    display: block;
    color: #7a2e25;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.rejected-receipt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8dde0;
}

.rejected-receipt-footer span:first-child {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rejected-receipt-footer small {
    color: #8d9aab;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rejected-receipt-footer span:first-child strong {
    color: #18212f;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.rejected-receipt-action {
    min-width: 198px;
    min-height: 46px;
    border-radius: 999px;
    font-size: 16px;
}

.pix-qr {
    display: block;
    max-width: 240px;
    margin: 16px 0;
    border-radius: 6px;
}

.copy-box,
.barcode-box {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    word-break: break-word;
}

.boleto-code-wrap {
    margin: 18px 0 20px;
}

.boleto-code-wrap small {
    display: block;
    margin-bottom: 8px;
    color: #7b8794;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.boleto-code-wrap .barcode-box {
    font-size: 16px;
    line-height: 1.45;
    color: #1f2937;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.boleto-copy-button {
    margin-top: 12px;
    min-width: 210px;
}

@media (max-width: 960px) {
    .layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 16px;
    }

    .panel-summary {
        position: static;
    }

    .panel-summary,
    .col-right {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        position: relative;
    }

    .topbar,
    .mp-header,
    .layout,
    .checkout-layout,
    .checkout-footer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .layout,
    .checkout-layout {
        width: 100%;
        max-width: 100%;
        margin: 26px 0 0;
        overflow: hidden;
        gap: 12px;
    }

    .panel-form,
    .panel-summary,
    .col-left,
    .col-right,
    .step,
    .step-form-box,
    .field-group,
    .field-row,
    .actions,
    .step-actions,
    .installments-dropdown {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .checkout-layout *,
    .layout * {
        max-width: 100%;
    }

    .field-group input,
    .field-group select,
    .mp-field,
    .installments-dropdown-trigger,
    .installments-dropdown-panel,
    .document-row,
    .input-with-prefix {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .mp-field iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    body[data-checkout-step="method"] .panel-summary,
    body[data-checkout-step="method"] .col-right {
        margin-top: -66px;
    }

    .checkout-footer {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .checkout-footer-inner {
        padding-top: 8px;
    }

    .topbar,
    .mp-header {
        height: 56px;
        min-height: 56px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .brand-wrap,
    .mp-header-inner {
        padding: 0 18px 0 18px;
    }

    .mp-logo-img {
        height: 88px;
    }

    .merchant-brand-icon {
        width: 28px;
        height: 28px;
    }

    .merchant-favicon-img {
        width: 22px;
        height: 22px;
    }

    .merchant-brand-name {
        font-size: 15px;
        max-width: none;
    }

    .step h2,
    .step-title-main {
        font-size: 23px;
        margin-bottom: 14px;
    }

    .merchant-logo,
    .payment-details {
        padding-left: 16px;
        padding-right: 16px;
    }

    .payment-details-title {
        font-size: 20px;
    }

    .detail-row-stack > span,
    .summary-price strong {
        font-size: 14px;
    }

    .field-row,
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 14px;
    }

    .field-row > .field-group {
        margin-top: 14px;
    }

    .field-row > .field-group:first-child {
        margin-top: 0;
    }

    .field-row > .field-group:nth-child(2) {
        padding-top: 0;
    }

    .field-group.small {
        max-width: none;
    }

    .actions,
    .step-buttons {
        flex-direction: column-reverse;
    }

    .btn,
    .btn-voltar,
    .btn-continuar {
        width: 100%;
        min-width: 0;
    }

    .method-card,
    .method-item {
        min-height: 64px;
        padding: 10px 16px;
        gap: 14px;
    }

    .method-icon {
        width: 44px;
        height: 44px;
    }

    .method-card strong,
    .method-name {
        font-size: 15px;
    }

    .method-copy span,
    .method-sub {
        font-size: 12px;
    }

    .installments-dropdown-trigger {
        min-height: 56px;
        padding: 10px 40px 10px 14px;
    }

    .installments-dropdown-trigger-content {
        gap: 10px;
    }

    .installments-dropdown-trigger-main,
    .installments-dropdown-item-main {
        font-size: 14px;
    }

    .installments-dropdown-trigger-badge,
    .installments-dropdown-item-sub {
        font-size: 12px;
    }

    .installments-dropdown-item {
        padding: 10px 14px;
    }

    .step-form-box {
        padding: 18px 16px 20px;
    }

    .result-card.success {
        border-radius: 18px;
    }

    .approved-receipt-banner {
        margin: 16px;
        padding: 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .approved-receipt-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .approved-receipt-check {
        width: 36px;
        height: 36px;
    }

    .approved-receipt-check::after {
        left: 50%;
        top: 48%;
        width: 17px;
        height: 10px;
        border-width: 0 0 5px 5px;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .approved-receipt-status strong {
        font-size: 17px;
    }

    .approved-receipt-status span {
        font-size: 14px;
    }

    .approved-receipt-body {
        padding: 4px 24px 28px;
    }

    .approved-receipt-body h3 {
        font-size: 30px;
    }

    .approved-receipt-body p {
        margin-top: 18px;
        font-size: 18px;
    }

    .approved-receipt-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 26px;
        padding-top: 24px;
    }

    .approved-receipt-footer small {
        font-size: 12px;
    }

    .approved-receipt-footer strong {
        font-size: 22px;
    }

    .approved-receipt-badge {
        width: 100%;
        min-width: 0;
        padding: 16px 22px;
        font-size: 18px;
    }

    .result-card.rejected {
        border-radius: 18px;
    }

    .rejected-receipt-banner {
        margin: 16px;
        padding: 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .rejected-receipt-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .rejected-receipt-mark {
        width: 36px;
        height: 36px;
    }

    .rejected-receipt-status strong {
        font-size: 17px;
    }

    .rejected-receipt-body {
        padding: 4px 24px 28px;
    }

    .rejected-receipt-body h3 {
        font-size: 30px;
    }

    .rejected-receipt-body p {
        margin-top: 18px;
        font-size: 18px;
    }

    .rejected-receipt-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 26px;
        padding-top: 24px;
    }

    .rejected-receipt-footer span:first-child strong {
        font-size: 22px;
    }

    .rejected-receipt-action {
        width: 100%;
    }

    .result-card.analysis {
        border-radius: 18px;
    }

    .analysis-receipt-banner {
        margin: 16px;
        padding: 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .analysis-receipt-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .analysis-receipt-mark {
        width: 36px;
        height: 36px;
    }

    .analysis-receipt-status strong {
        font-size: 17px;
    }

    .analysis-receipt-body {
        padding: 4px 24px 28px;
    }

    .analysis-receipt-body h3 {
        font-size: 30px;
    }

    .analysis-receipt-body p {
        margin-top: 18px;
        font-size: 18px;
    }

    .analysis-receipt-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 26px;
        padding-top: 24px;
    }

    .analysis-receipt-footer span:first-child strong {
        font-size: 22px;
    }

    .analysis-receipt-badge {
        width: 100%;
        min-width: 0;
        padding: 16px 22px;
        font-size: 18px;
    }

    .boleto-copy-button {
        width: 100%;
        min-width: 0;
    }

    .boleto-code-wrap .barcode-box {
        font-size: 14px;
    }
}
