@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Sora:wght@300;400;500;600;700&display=swap");

.checkout-public,
.checkout-interno {
    color: #02083f;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

.checkout-public {
    font-family: "Sora", sans-serif;
    background: #eef2f7;
}

.checkout-interno {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #e8eef7;
}


.checkout-public::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 12% 18%, rgba(30, 136, 229, 0.14), transparent 45%),
      radial-gradient(circle at 88% 22%, rgba(47, 211, 199, 0.16), transparent 48%),
      radial-gradient(circle at 30% 86%, rgba(245, 181, 90, 0.16), transparent 45%),
      linear-gradient(120deg, #e9eef6 0%, #e3eaf5 55%, #f5f7fb 100%);
    z-index: -2;
    animation: bgDrift 18s ease-in-out infinite;
}

.checkout-public::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(2, 8, 63, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(2, 8, 63, 0.035) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.45;
    z-index: -1;
}

@keyframes bgDrift {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-public::before {
        animation: none;
    }
}

.public-header,
.plan-selector,
.plan-summary,
.plan-card {
    animation: fadeUp 0.8s ease both;
}

.plan-summary { animation-delay: 0.08s; }
.plan-card:nth-child(1) { animation-delay: 0.12s; }
.plan-card:nth-child(2) { animation-delay: 0.18s; }
.plan-card:nth-child(3) { animation-delay: 0.24s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .public-header,
    .plan-selector,
    .plan-summary,
    .plan-card {
        animation: none;
    }
}

.checkout-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 100vh;
    padding: 10px 0 40px;
}

.checkout-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.checkout-ambient .blob {
    position: absolute;
    border-radius: 999px;
    opacity: 0.5;
    animation: floatSoft 16s ease-in-out infinite;
}

.checkout-ambient .blob-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.25), transparent 70%);
    top: -120px;
    left: -120px;
    animation-delay: 0s;
}

.checkout-ambient .blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(47, 211, 199, 0.18), transparent 70%);
    top: 20%;
    right: -160px;
    animation-delay: 2s;
}

.checkout-ambient .blob-3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(245, 181, 90, 0.2), transparent 70%);
    bottom: 6%;
    left: 35%;
    animation-delay: 4s;
}

.checkout-ambient .grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(2, 8, 63, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(2, 8, 63, 0.05) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.35;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(12px); }
}

.public-header,
.plan-selector,
.checkout-page {
    position: relative;
    z-index: 1;
}

.public-header {
    background: linear-gradient(120deg, rgba(2, 8, 63, 0.06), rgba(30, 136, 229, 0.08));
    border-bottom: 1px solid rgba(2, 8, 63, 0.08);
    padding: 18px 24px;
    box-shadow: 0 12px 24px rgba(2, 8, 63, 0.08);
}

.public-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #02083f;
}

.public-brand img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.public-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.public-link {
    color: #02083f;
    font-weight: 600;
}

.public-cta {
    background: #02083f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(2, 8, 63, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(2, 8, 63, 0.25);
}

.plan-selector {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.95));
    border: 1px solid rgba(2, 8, 63, 0.18);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(2, 8, 63, 0.12);
    display: grid;
    gap: 20px;
    max-width: 980px;
    margin: 28px auto 0;
    backdrop-filter: blur(6px);
}

.plan-selector__copy h2 {
    color: #02083f;
    margin-bottom: 8px;
    font-size: 28px;
    font-family: "Playfair Display", serif;
}

.plan-selector__copy p {
    color: #5f6b80;
    font-size: 14px;
}

.plan-label {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(30, 136, 229, 0.12);
    color: #0b2b5b;
    margin-bottom: 8px;
}

.plan-selector__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.plan-selector__form {
    display: grid;
    gap: 16px;
}

.plan-form {
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(2, 8, 63, 0.08);
}

.plan-form h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #02083f;
    margin-bottom: 4px;
}

.plan-form label {
    font-size: 13px;
    font-weight: 600;
    color: #02083f;
}

.plan-form input {
    border: 1px solid rgba(2, 8, 63, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.plan-form input:focus {
    border-color: rgba(30, 136, 229, 0.6);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.plan-form__note {
    font-size: 12px;
    color: #5f6b80;
    margin-top: 4px;
}

.plan-form--readonly {
    background: rgba(235, 244, 255, 0.9);
}

.plan-summary {
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(140deg, rgba(235, 244, 255, 0.95), rgba(247, 251, 255, 0.9));
    display: grid;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(2, 8, 63, 0.08);
    border-left: 4px solid rgba(30, 136, 229, 0.6);
}

.plan-summary h3 {
    color: #02083f;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.plan-summary__name {
    font-weight: 700;
    color: #02083f;
    font-size: 20px;
}

.plan-summary__price {
    color: #1e88e5;
    font-weight: 800;
    font-size: 22px;
}

.plan-summary__list {
    list-style: none;
    display: grid;
    gap: 6px;
    color: #5f6b80;
    font-size: 13px;
}

.plan-summary::after {
    content: "";
    position: absolute;
    top: -30px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.22), transparent 70%);
}

.plan-summary__list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-summary__list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

.plan-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(2, 8, 63, 0.12);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(12px);
    animation: cardIn 0.7s ease forwards;
}

.plan-card input {
    accent-color: #1e88e5;
}

.plan-card__content {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: #02083f;
    font-weight: 700;
}

.plan-card small {
    color: #6b7280;
    font-size: 12px;
}

.plan-card:has(input:checked) {
    border-color: rgba(30, 136, 229, 0.5);
    box-shadow: 0 8px 16px rgba(30, 136, 229, 0.18);
    transform: translateY(-2px);
}

.plan-card--selected {
    border-color: rgba(30, 136, 229, 0.6);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.2);
}

.plan-card--premium {
    background: linear-gradient(135deg, #ffffff 0%, #fff6e6 100%);
    border-color: rgba(245, 181, 90, 0.45);
}

.plan-card:hover {
    background: #f0f6ff;
}

.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.12s; }
.plan-card:nth-child(3) { animation-delay: 0.19s; }

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .plan-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 181, 90, 0.3);
    color: #8a5a12;
    font-size: 12px;
    font-weight: 700;
}

.plan-selector__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(2, 8, 63, 0.15);
    color: #5f6b80;
    font-size: 14px;
}

.plan-cta-actions {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(120deg, #1e88e5, #2fd3c7);
    color: #fff;
    box-shadow: 0 10px 18px rgba(30, 136, 229, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #1976d2, #28c7bc);
    box-shadow: 0 14px 26px rgba(30, 136, 229, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(2, 8, 63, 0.2);
    color: #02083f;
    background: #fff;
    box-shadow: 0 8px 16px rgba(2, 8, 63, 0.08);
}

.btn-secondary:hover {
    background: #f3f7ff;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
}

.plan-cta-actions .btn-primary,
.plan-cta-actions .btn-secondary {
    min-width: 180px;
}

.plan-cta-actions .btn-primary,
.plan-cta-actions .btn-secondary {
    min-width: 180px;
}

/* Refinamento visual do checkout publico (pagina de assinatura) */
.checkout-public .plan-selector {
    border-radius: 26px;
    padding: 28px;
    border-color: rgba(2, 8, 63, 0.16);
    box-shadow: 0 26px 48px rgba(2, 8, 63, 0.13);
}

.checkout-public .plan-selector__copy h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.06;
    margin-bottom: 10px;
}

.checkout-public .plan-selector__copy p {
    font-size: 15px;
}

.plan-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}

.plan-alert--test {
    border: 1px dashed rgba(2, 8, 63, 0.32);
    color: #1f2a44;
}

.plan-alert--test div {
    margin-top: 6px;
}

.plan-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: -2px;
}

.plan-benefits span {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #12315f;
    background: rgba(30, 136, 229, 0.12);
    border: 1px solid rgba(30, 136, 229, 0.18);
}

.checkout-public .plan-summary {
    border-left: 5px solid rgba(30, 136, 229, 0.72);
    background: linear-gradient(150deg, rgba(234, 243, 255, 0.96), rgba(246, 250, 255, 0.94));
    box-shadow: 0 16px 30px rgba(8, 31, 73, 0.1);
}

.checkout-public .plan-summary__name {
    font-size: 32px;
    line-height: 1.08;
}

.checkout-public .plan-summary__price {
    font-size: 38px;
    letter-spacing: -0.4px;
}

.checkout-public .plan-card {
    border-radius: 16px;
    padding: 18px 16px 16px;
    min-height: 124px;
}

.checkout-public .plan-card__content strong {
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0;
}

.checkout-public .plan-card__content span {
    font-size: 28px;
    font-weight: 800;
}

.checkout-public .plan-card small {
    font-size: 13px;
}

.checkout-public .plan-form {
    border-radius: 18px;
    padding: 18px;
}

.checkout-public .plan-form input {
    border-radius: 11px;
    padding: 11px 12px;
}

.checkout-public .plan-selector__cta {
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.65);
}

.plan-cta-copy p {
    font-weight: 600;
    color: #23365f;
}

.plan-cta-copy small {
    display: block;
    margin-top: 4px;
    color: #5f6b80;
}

.checkout-public .btn-primary {
    min-height: 46px;
    font-size: 14px;
    letter-spacing: 0.45px;
}

@media (max-width: 1024px) {
    .checkout-public .plan-summary__name {
        font-size: 26px;
    }

    .checkout-public .plan-summary__price {
        font-size: 32px;
    }

    .checkout-public .plan-card__content strong {
        font-size: 18px;
    }

    .checkout-public .plan-card__content span {
        font-size: 24px;
    }
}

.checkout-layout {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 20px auto 40px;
    padding: 20px;
}

.lista-atendimentos {
    flex: 1;
    border: 1px solid #02083f;
    background: #ffffffd4;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    max-height: 620px;
    overflow-y: auto;
}

.lista-atendimentos h3 {
    color: #02083f;
    margin-bottom: 6px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}

.lista-header {
    margin-bottom: 16px;
}

.lista-sub {
    color: #6b7280;
    font-size: 13px;
}

.lista-atendimentos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-atendimentos li {
    padding: 14px;
    border: 1px solid rgba(2, 8, 63, 0.12);
    color: #1f2a44;
    cursor: pointer;
    border-radius: 14px;
    transition: background .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    background: #ffffff;
    margin-bottom: 12px;
    box-shadow: 0 8px 18px rgba(2,8,63,0.06);
}

.lista-atendimentos li:hover {
    background: #f6f8fc;
    transform: translateY(-1px);
    border-color: rgba(2, 8, 63, 0.2);
}

.lista-atendimentos li.ativo {
    background: #eaf1ff;
    border-color: rgba(30, 136, 229, 0.35);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.18);
}

.lista-atendimentos li.checkout-vazio {
    cursor: default;
    text-align: center;
    color: #666;
    border: 1px dashed rgba(2, 8, 63, 0.12);
    background: #f7f8fb;
    box-shadow: none;
}

.checkout-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.checkout-item-top strong {
    font-size: 14px;
}

.checkout-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(145, 116, 48, 0.18);
    color: #6d5522;
}

.checkout-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.16);
}

.checkout-item-meta {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 12px;
}

.checkout-price {
    color: #02083f;
    font-weight: 700;
}

.checkout-detalhe {
    flex: 2;
    border: 1px solid #02083f;
    background: #ffffffd4;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.checkout-detalhe h2 {
    color: #02083f;
    margin-bottom: 20px;
}

.checkout-detalhe label {
    display: block;
    color: #444;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.checkout-detalhe input,
.checkout-detalhe select,
.checkout-detalhe textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 1px solid rgba(2, 8, 63, 0.2);
    color: #222;
    outline: none;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-detalhe input:focus,
.checkout-detalhe select:focus,
.checkout-detalhe textarea:focus {
    border-color: #02083f;
    box-shadow: 0 0 0 3px rgba(2, 8, 63, 0.15);
}

.checkout-detalhe textarea {
    resize: none;
    height: 90px;
}

.checkout-detalhe input:disabled {
    opacity: 0.7;
}

.checkout-detalhe button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background-color: #02083f;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 20px rgba(2, 8, 63, 0.2);
}

.checkout-detalhe button:hover {
    background-color: #2a2f66;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(2, 8, 63, 0.25);
}

@media (max-width: 1024px) {
    .plan-selector__cards {
        grid-template-columns: 1fr;
    }

    .plan-selector__cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-layout {
        flex-direction: column;
    }
}

/* Loader do checkout */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 25, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}

.checkout-overlay.ativo {
    display: flex;
    opacity: 1;
}

.checkout-overlay.fade-out {
    opacity: 0;
    backdrop-filter: blur(0);
}

.checkout-loader-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    padding: 50px 60px;
    border-radius: 22px;
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,0.6);
    animation: scaleIn 0.4s ease;
    min-width: 340px;
}

.checkout-loader-glass h3 {
    margin-top: 26px;
    font-size: 22px;
    color: #d1b253;
}

.checkout-loader-glass p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.75;
}

.ring-loader {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 5px solid rgba(209, 178, 83, 0.25);
    border-top-color: #d1b253;
    animation: spin 1.1s linear infinite;
    margin: 0 auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    display: none;
    margin: 0 auto;
}

.checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark circle {
    stroke: #d1b253;
    stroke-width: 5;
    fill: none;
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawCircle 0.6s ease forwards;
}

.checkmark path {
    stroke: #d1b253;
    stroke-width: 6;
    fill: none;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.4s ease forwards 0.5s;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* Checkout interno premium */
.checkout-interno {
    background:
        radial-gradient(circle at 14% 20%, rgba(2, 8, 63, 0.14), transparent 45%),
        radial-gradient(circle at 85% 28%, rgba(36, 79, 189, 0.2), transparent 40%),
        linear-gradient(135deg, #d7d9de 0%, #e2e5ea 46%, #cfd5de 100%);
}

.checkout-interno::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(rgba(2, 8, 63, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(2, 8, 63, 0.045) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.4;
    z-index: 0;
}

body.checkout-interno::before {
    content: none;
}

body.checkout-interno::before,
body.checkout-interno::after {
    display: none !important;
    background: none !important;
}

html:has(body.checkout-interno),
body.checkout-interno {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden !important;
}

.checkout-interno .checkout-page {
    position: relative;
    z-index: 1;
    min-height: auto;
    gap: 20px;
    padding: 24px 0 42px;
}

.checkout-interno .checkout-hero {
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 40px);
    border: 1px solid rgba(2, 8, 63, 0.16);
    border-radius: 16px;
    padding: 14px 18px;
    display: block;
    background: linear-gradient(140deg, rgba(34, 36, 58, 0.92), rgba(20, 30, 72, 0.9));
    color: #f6f8ff;
    box-shadow: 0 10px 22px rgba(2, 8, 63, 0.14);
}

.checkout-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: rgba(120, 154, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.checkout-hero__copy h2 {
    margin-top: 8px;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: 0;
}

.checkout-hero__copy p {
    margin-top: 6px;
    color: rgba(246, 248, 255, 0.72);
    font-size: 13px;
}

.checkout-interno .checkout-layout {
    display: grid;
    grid-template-columns: minmax(310px, 1fr) minmax(440px, 1.5fr);
    gap: 24px;
    margin: 0 auto 34px;
    width: calc(100% - 40px);
    max-width: 1400px;
    padding: 0;
}

.checkout-interno .lista-atendimentos,
.checkout-interno .checkout-detalhe {
    border: 1px solid rgba(2, 8, 63, 0.17);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 253, 0.94));
    border-radius: 20px;
    box-shadow: 0 20px 42px rgba(2, 8, 63, 0.12);
}

.checkout-interno .lista-atendimentos {
    padding: 22px;
    max-height: 650px;
}

.checkout-interno .lista-header h3 {
    font-size: 20px;
    margin: 0 0 7px;
}

.checkout-interno .lista-sub {
    color: #4f5b71;
    font-size: 13px;
}

.checkout-interno .lista-atendimentos li {
    border-radius: 15px;
    border-color: rgba(2, 8, 63, 0.13);
    background: #ffffff;
    padding: 14px 14px 13px;
    margin-bottom: 10px;
}

.checkout-interno .lista-atendimentos li:hover {
    background: #f4f7ff;
    border-color: rgba(36, 79, 189, 0.35);
    transform: translateY(-2px);
}

.checkout-interno .lista-atendimentos li.ativo {
    background: linear-gradient(130deg, #eaf0ff, #f1f5ff);
    border-color: rgba(36, 79, 189, 0.45);
    box-shadow: 0 12px 24px rgba(36, 79, 189, 0.22);
}

.checkout-interno .checkout-badge {
    color: #093c19;
    background: rgba(52, 199, 89, 0.18);
}

.checkout-interno .checkout-detalhe {
    padding: 26px;
}

.checkout-interno .checkout-detalhe h2 {
    margin-bottom: 6px;
    font-size: 25px;
    line-height: 1.15;
}

.checkout-detalhe-sub {
    color: #5c6b84;
    margin-bottom: 12px;
    font-size: 13px;
}

.checkout-field {
    margin-top: 12px;
}

.checkout-interno .checkout-detalhe label {
    display: inline-flex;
    margin: 0 0 7px;
    color: #273249;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.checkout-interno .checkout-detalhe input,
.checkout-interno .checkout-detalhe select,
.checkout-interno .checkout-detalhe textarea {
    border: 1px solid rgba(2, 8, 63, 0.18);
    border-radius: 12px;
    background: #ffffff;
    color: #1f2a44;
    font-size: 14px;
    padding: 11px 12px;
}

.checkout-interno .checkout-detalhe input:focus,
.checkout-interno .checkout-detalhe select:focus,
.checkout-interno .checkout-detalhe textarea:focus {
    border-color: rgba(36, 79, 189, 0.65);
    box-shadow: 0 0 0 4px rgba(36, 79, 189, 0.18);
}

.checkout-interno .checkout-detalhe input:disabled,
.checkout-interno .checkout-detalhe input[readonly] {
    background: #eef2f8;
    color: #50607a;
    border-color: rgba(2, 8, 63, 0.08);
}

.checkout-interno .checkout-detalhe textarea {
    min-height: 104px;
}

.checkout-interno .btn-checkout-main {
    margin-top: 18px;
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 14px;
    background: linear-gradient(120deg, #193f9f, #244fbd);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 14px 26px rgba(25, 63, 159, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.checkout-interno .btn-checkout-main:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 32px rgba(25, 63, 159, 0.42);
}

.checkout-interno .btn-checkout-main:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

@media (max-width: 980px) {
    .checkout-interno .checkout-hero,
    .checkout-interno .checkout-layout {
        width: calc(100% - 26px);
    }

    .checkout-interno .checkout-hero {
        padding: 14px 16px;
    }

    .checkout-interno .checkout-hero__copy h2 {
        font-size: 24px;
    }

    .checkout-interno .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-interno .lista-atendimentos {
        max-height: none;
    }
}

/* Checkout publico em estilo init */
.checkout-public {
    background: linear-gradient(125deg, #d5d9e1 0%, #e6ebf2 35%, #d2d8e2 100%);
    color: #1f2a44;
}

.checkout-public::before {
    background:
      radial-gradient(circle at 16% 18%, rgba(36, 79, 189, 0.2), transparent 40%),
      radial-gradient(circle at 84% 16%, rgba(25, 63, 159, 0.15), transparent 34%),
      radial-gradient(circle at 74% 86%, rgba(0, 0, 0, 0.12), transparent 40%);
}

.checkout-public .checkout-ambient {
    opacity: 0.55;
}

.checkout-public .public-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #22243a;
    border-bottom: 2px solid #02083f;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    padding: 16px 24px;
}

.checkout-public .public-header__inner {
    max-width: 1240px;
}

.checkout-public .public-brand {
    display: inline-flex;
    align-items: center;
}

.checkout-public .public-brand img {
    width: 176px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.checkout-public .public-link {
    color: #f2f4fa;
}

.checkout-public .public-cta {
    background: linear-gradient(135deg, #244fbd, #193f9f);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.checkout-public .public-cta:hover {
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

.checkout-public-page {
    padding-top: 26px;
    padding-bottom: 44px;
}

.checkout-public .plan-selector--init-pro {
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 34px;
    border: 1px solid rgba(2, 8, 63, 0.16);
    background:
      radial-gradient(circle at 92% 8%, rgba(36, 79, 189, 0.08), transparent 28%),
      linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 253, 0.95));
    box-shadow:
      0 28px 52px rgba(2, 8, 63, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 30px;
}

.checkout-public .plan-selector__copy {
    margin-bottom: 2px;
}

.checkout-public .plan-selector__copy h2 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(30px, 4vw, 40px);
    letter-spacing: -0.2px;
    color: #1f2248;
}

.checkout-public .plan-selector__copy p {
    color: #4f5b71;
    font-size: 15px;
}

.checkout-public .plan-alert {
    margin-bottom: 14px;
}

.checkout-public .plan-alert--test {
    border: 1px dashed rgba(2, 8, 63, 0.32);
    background: rgba(255, 255, 255, 0.95);
}

.checkout-public .checkout-public-grid {
    display: grid;
    grid-template-columns: minmax(310px, 0.95fr) minmax(380px, 1.35fr);
    gap: 22px;
    align-items: start;
}

.checkout-public .checkout-public-left {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 108px;
}

.checkout-public .checkout-public-right {
    display: grid;
    gap: 14px;
}

.checkout-public .plan-summary {
    background: linear-gradient(160deg, #fefeff, #f1f6ff);
    border: 1px solid rgba(2, 8, 63, 0.16);
    border-left: 5px solid #244fbd;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 30px rgba(2, 8, 63, 0.1);
    position: relative;
    overflow: hidden;
}

.checkout-public .plan-summary::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -70px;
    top: -85px;
    background: radial-gradient(circle, rgba(36, 79, 189, 0.2), transparent 70%);
    pointer-events: none;
}

.checkout-public .plan-summary h3 {
    margin-bottom: 4px;
    font-size: 13px;
    color: #1f2248;
}

.checkout-public .plan-summary__name {
    font-size: 28px;
    line-height: 1.1;
    color: #1a2258;
}

.checkout-public .plan-summary__price {
    font-size: 34px;
    font-weight: 800;
}

.checkout-public .plan-summary__list {
    margin-top: 4px;
}

.checkout-public .plan-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-public .plan-trust span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(36, 79, 189, 0.24);
    background: linear-gradient(120deg, rgba(36, 79, 189, 0.14), rgba(36, 79, 189, 0.06));
    color: #163866;
    font-size: 12px;
    font-weight: 700;
}

.checkout-public .plan-back-link {
    width: 100%;
    border-radius: 12px;
    justify-content: center;
    padding: 11px 14px;
    text-transform: none;
}

.checkout-public .plan-picker,
.checkout-public .plan-form,
.checkout-public .plan-selector__cta {
    border: 1px solid rgba(2, 8, 63, 0.14);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 24px rgba(2, 8, 63, 0.08);
}

.checkout-public .plan-picker {
    padding: 18px;
}

.checkout-public .plan-group {
    padding: 12px 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(2, 8, 63, 0.08);
    background: rgba(248, 251, 255, 0.8);
}

.checkout-public .plan-group + .plan-group {
    margin-top: 14px;
}

.checkout-public .plan-group__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #1f2248;
    margin-bottom: 10px;
}

.checkout-public .plan-group__head span {
    color: rgba(31, 34, 72, 0.65);
    font-weight: 500;
}

.checkout-public .plan-summary__cycle-note {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(18, 27, 51, 0.7);
}

.checkout-public .plan-picker h3 {
    font-size: 15px;
    color: #1f2248;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.checkout-public .plan-selector__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.checkout-public .plan-card {
    min-height: 118px;
    border-radius: 18px;
    padding: 14px 12px 12px;
    background: linear-gradient(160deg, #ffffff, #f8fbff);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.checkout-public .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 26px rgba(36, 79, 189, 0.16);
    border-color: rgba(36, 79, 189, 0.42);
}

.checkout-public .plan-card__content strong {
    font-size: 18px;
}

.checkout-public .plan-card__content span {
    font-size: 22px;
    font-weight: 800;
}

.checkout-public .plan-form {
    padding: 18px;
}

.checkout-public .plan-form h3 {
    margin-bottom: 8px;
}

.checkout-public .plan-form input {
    border-radius: 10px;
}

.checkout-public .plan-selector__cta {
    padding: 14px 16px;
    background: linear-gradient(145deg, #ffffff, #f8faff);
}

.checkout-public .plan-cta-copy p {
    color: #1f2248;
    font-weight: 700;
}

.checkout-public .btn-primary {
    min-width: 220px;
    min-height: 50px;
    border-radius: 999px;
    background: linear-gradient(135deg, #244fbd, #193f9f);
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(25, 63, 159, 0.34);
}

.checkout-public .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(25, 63, 159, 0.42);
}

@media (max-width: 1140px) {
    .checkout-public .checkout-public-grid {
        grid-template-columns: 1fr;
    }

    .checkout-public .checkout-public-left {
        position: static;
    }
}

@media (max-width: 760px) {
    .checkout-public .public-header {
        padding: 12px 14px;
    }

    .checkout-public .public-brand img {
        width: 150px;
    }

    .checkout-public .plan-selector--init-pro {
        padding: 18px;
        border-radius: 24px;
    }

    .checkout-public .plan-selector__cards {
        grid-template-columns: 1fr;
    }

    .checkout-public .plan-summary__name {
        font-size: 24px;
    }

    .checkout-public .plan-summary__price {
        font-size: 30px;
    }

    .checkout-public .btn-primary {
        width: 100%;
    }
}

/* Checkout publico no estilo da landing (override final) */
.checkout-public {
    font-family: "Sora", sans-serif;
    background: radial-gradient(circle at top, #122a45 0%, #08101a 55%, #050a12 100%);
    color: #e6f2ff;
}

.checkout-public .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 18, 30, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-public .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 6px 0;
    min-height: 56px;
    position: relative;
}

.checkout-public .brand {
    gap: 0;
    min-width: 178px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.checkout-public .brand img {
    width: 162px;
    height: auto;
    max-width: 100%;
    display: block;
    transform: translate(-17px, -60px) scale(1.02);
    transform-origin: left center;
    filter:
      drop-shadow(0 10px 26px rgba(0, 0, 0, 0.42))
      drop-shadow(0 0 20px rgba(47, 211, 199, 0.22));
}

.checkout-public .checkout-head-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.checkout-public .checkout-head-meta span {
    border-radius: 999px;
    border: 1px solid rgba(99, 140, 180, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: #b7c9de;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
}

.checkout-public .checkout-public-section {
    padding-top: 24px;
}

.checkout-public .plan-selector--landing {
    border-radius: 24px;
    border: 1px solid rgba(99, 140, 180, 0.24);
    background: linear-gradient(160deg, rgba(18, 42, 66, 0.85), rgba(10, 22, 35, 0.95));
    box-shadow: 0 24px 60px rgba(4, 12, 20, 0.55);
    padding: 26px;
    display: grid;
    gap: 18px;
}

.checkout-public .plan-selector__copy h2 {
    font-family: "Playfair Display", serif;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.checkout-public .plan-selector__copy p {
    color: #a6b4c7;
}

.checkout-public .checkout-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.checkout-public .checkout-intro-points span {
    border-radius: 999px;
    border: 1px solid rgba(47, 211, 199, 0.26);
    background: rgba(47, 211, 199, 0.09);
    color: #8cece2;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
}

.checkout-public .plan-label {
    background: rgba(47, 211, 199, 0.14);
    color: #2fd3c7;
}

.checkout-public .plan-alert--test {
    border: 1px dashed rgba(245, 181, 90, 0.45);
    background: rgba(245, 181, 90, 0.1);
    color: #f7d5a0;
}

.checkout-public .checkout-public-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(380px, 1.35fr);
    gap: 18px;
    align-items: start;
}

.checkout-public .checkout-public-left {
    display: grid;
    gap: 12px;
}

.checkout-public .checkout-public-right {
    display: grid;
    gap: 12px;
}

.checkout-public .plan-summary,
.checkout-public .plan-picker,
.checkout-public .plan-form,
.checkout-public .plan-selector__cta {
    border-radius: 18px;
    border: 1px solid rgba(99, 140, 180, 0.24);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.checkout-public .plan-summary {
    padding: 18px;
    border-left: 4px solid #2fd3c7;
    background: linear-gradient(160deg, rgba(25, 52, 79, 0.92), rgba(13, 28, 44, 0.98));
}

.checkout-public .plan-summary h3 {
    color: #b7c9de;
}

.checkout-public .plan-summary__name {
    color: #ffffff;
    font-size: 28px;
}

.checkout-public .plan-summary__price {
    color: #2fd3c7;
    font-size: 34px;
}

.checkout-public .plan-summary__list {
    color: #a6b4c7;
}

.checkout-public .plan-summary__list li::before {
    background: #2fd3c7;
}

.checkout-public .plan-badge {
    background: rgba(245, 181, 90, 0.18);
    color: #f5b55a;
}

.checkout-public .plan-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-public .plan-trust span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(47, 211, 199, 0.24);
    background: rgba(47, 211, 199, 0.1);
    color: #2fd3c7;
    font-size: 12px;
    font-weight: 700;
}

.checkout-public .checkout-assurance {
    border-radius: 14px;
    border: 1px solid rgba(99, 140, 180, 0.24);
    background: linear-gradient(160deg, rgba(16, 35, 54, 0.9), rgba(10, 22, 35, 0.96));
    padding: 12px 14px;
}

.checkout-public .checkout-assurance h4 {
    color: #d8e7f6;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.checkout-public .checkout-assurance ul {
    margin: 0;
    padding-left: 18px;
    color: #a8bbcf;
    display: grid;
    gap: 6px;
    font-size: 13px;
}

.checkout-public .plan-picker {
    padding: 16px;
    background: linear-gradient(160deg, rgba(18, 42, 66, 0.92), rgba(10, 22, 35, 0.97));
}

.checkout-public .plan-group {
    padding: 12px 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(99, 140, 180, 0.22);
    background: linear-gradient(160deg, rgba(15, 33, 51, 0.9), rgba(9, 20, 32, 0.96));
}

.checkout-public .plan-group + .plan-group {
    margin-top: 14px;
}

.checkout-public .plan-group__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #d5e4f4;
    margin-bottom: 10px;
}

.checkout-public .plan-group__head span {
    color: #8fa6bf;
    font-weight: 500;
}

.checkout-public .plan-summary__cycle-note {
    margin-top: 6px;
    font-size: 12px;
    color: #8fa6bf;
}

.checkout-public .plan-picker h3 {
    color: #d5e4f4;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
}

.checkout-public .plan-selector__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.checkout-public .plan-card {
    min-height: 112px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(21, 46, 69, 0.92), rgba(12, 27, 43, 0.98));
    border: 1px solid rgba(99, 140, 180, 0.26);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
}

.checkout-public .plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 140, 180, 0.44);
    box-shadow: 0 18px 30px rgba(4, 12, 20, 0.34);
}

.checkout-public .plan-card small {
    color: #9fb0c5;
    font-size: 12px;
    line-height: 1.35;
}

.checkout-public .plan-card__content {
    color: #e6f2ff;
    display: grid;
    gap: 2px;
    justify-items: start;
}

.checkout-public .plan-card__content strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.checkout-public .plan-card__content span {
    color: #2fd3c7;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
}

.checkout-public .plan-card:has(input:checked) {
    border-color: rgba(47, 211, 199, 0.65);
    background: linear-gradient(160deg, rgba(21, 72, 80, 0.92), rgba(12, 40, 51, 0.98));
    box-shadow: 0 12px 24px rgba(47, 211, 199, 0.16);
}

.checkout-public .plan-form {
    padding: 16px;
    background: linear-gradient(160deg, rgba(17, 37, 57, 0.92), rgba(10, 22, 35, 0.97));
}

.checkout-public .plan-form h3,
.checkout-public .plan-form label {
    color: #d5e4f4;
}

.checkout-public .plan-form input {
    background: rgba(6, 16, 27, 0.7);
    border: 1px solid rgba(99, 140, 180, 0.3);
    color: #e6f2ff;
    border-radius: 10px;
}

.checkout-public .plan-form input:focus {
    border-color: rgba(47, 211, 199, 0.65);
    box-shadow: 0 0 0 3px rgba(47, 211, 199, 0.18);
}

.checkout-public .plan-form__note,
.checkout-public .plan-form--readonly p {
    color: #9fb0c5;
}

.checkout-public .plan-selector__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(160deg, rgba(16, 35, 54, 0.92), rgba(9, 20, 32, 0.97));
}

.checkout-public .plan-back-link.btn {
    min-width: 210px;
}

.checkout-public .plan-cta-actions .btn.primary {
    min-width: 220px;
}

.checkout-public .checkout-help {
    border-radius: 14px;
    border: 1px solid rgba(99, 140, 180, 0.24);
    background: linear-gradient(160deg, rgba(16, 35, 54, 0.9), rgba(10, 22, 35, 0.96));
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-public .checkout-help strong {
    color: #e6f2ff;
    display: block;
    margin-bottom: 3px;
}

.checkout-public .checkout-help p {
    color: #9fb0c5;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .checkout-public .checkout-public-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .checkout-public .brand img {
        width: 138px;
        transform: translate(-13px, -51px) scale(1.01);
    }

    .checkout-public .topbar-inner {
        gap: 8px;
        padding: 4px 0;
        min-height: 46px;
        justify-content: center;
    }

    .checkout-public .checkout-head-meta {
        display: none;
    }

    .checkout-public .brand {
        position: static;
        left: auto;
        transform: none;
        min-width: 152px;
        height: 30px;
    }

    .checkout-public .plan-selector--landing {
        padding: 18px;
        border-radius: 18px;
    }

    .checkout-public .plan-selector__cards {
        grid-template-columns: 1fr;
    }

    .checkout-public .plan-selector__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-public .checkout-help {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-public .plan-back-link.btn,
    .checkout-public .plan-cta-actions .btn.primary {
        min-width: 100%;
    }

    /* Evita zoom automatico no iOS ao focar campos de formulario */
    .checkout-public .plan-form input,
    .checkout-interno .checkout-detalhe input,
    .checkout-interno .checkout-detalhe select,
    .checkout-interno .checkout-detalhe textarea {
        font-size: 16px;
    }
}

/* Checkout interno operacional */
.checkout-interno .checkout-page {
    min-height: calc(100vh - 86px);
    padding: 14px 0 24px;
    gap: 14px;
}

.checkout-interno .checkout-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
}

.checkout-interno .checkout-hero__copy h2 {
    margin-top: 6px;
    font-size: clamp(24px, 2.2vw, 28px);
    line-height: 1.08;
}

.checkout-interno .checkout-hero__copy p {
    margin-top: 5px;
    max-width: 760px;
}

.checkout-interno .checkout-hero__chips {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-interno .checkout-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #f3f7ff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-interno .checkout-hero__chips i {
    color: #b7ccff;
}

.checkout-interno .checkout-layout {
    height: calc(100vh - 196px);
    min-height: 570px;
    gap: 18px;
    align-items: stretch;
}

.checkout-interno .lista-atendimentos,
.checkout-interno .checkout-detalhe,
.checkout-interno .checkout-summary-card,
.checkout-interno .checkout-panel,
.checkout-interno .checkout-actionbar,
.checkout-interno .checkout-info-card,
.checkout-interno .checkout-money-card,
.checkout-interno .checkout-campaign {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.checkout-interno .lista-atendimentos {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px;
}

.checkout-interno .lista-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.checkout-interno .lista-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(36, 79, 189, 0.1);
    color: #1b3f99;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-interno .checkout-lista {
    list-style: none;
    margin: 0;
    padding: 0 2px 0 0;
    display: grid;
    gap: 10px;
    overflow: auto;
    min-height: 0;
}

.checkout-interno .checkout-list-item {
    padding: 12px 12px 11px;
    display: grid;
    gap: 10px;
}

.checkout-interno .checkout-lista li {
    margin-bottom: 0;
}

.checkout-interno .checkout-item-top {
    margin-bottom: 0;
    align-items: flex-start;
}

.checkout-interno .checkout-item-title {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.checkout-interno .checkout-item-title strong {
    font-size: 14px;
    line-height: 1.2;
}

.checkout-interno .checkout-item-title span {
    color: #596781;
    font-size: 12px;
    line-height: 1.35;
}

.checkout-interno .checkout-item-value {
    min-width: 112px;
    display: grid;
    gap: 4px;
    text-align: right;
}

.checkout-interno .checkout-item-value small {
    color: #68758d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-interno .checkout-price {
    font-size: 18px;
    line-height: 1;
}

.checkout-interno .checkout-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-interno .checkout-item-row--meta {
    color: #5e6a80;
    font-size: 12px;
}

.checkout-interno .checkout-item-row--meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checkout-interno .checkout-item-row i {
    color: #7484a0;
}

.checkout-interno .checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(36, 79, 189, 0.08);
    color: #244081;
    font-size: 11px;
    font-weight: 700;
}

.checkout-interno .checkout-pill--status {
    background: rgba(52, 199, 89, 0.15);
    color: #0f6d2d;
}

.checkout-interno .checkout-item-campaign {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(209, 178, 83, 0.14);
    color: #86631d;
    font-weight: 700;
}

.checkout-interno .checkout-detalhe {
    padding: 18px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 0;
    overflow: hidden;
}

.checkout-interno .checkout-detalhe__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.checkout-interno .checkout-detalhe h2 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.08;
}

.checkout-interno .checkout-detalhe-sub {
    margin-bottom: 0;
    max-width: 760px;
}

.checkout-interno .checkout-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(2, 8, 63, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: #53637f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-interno .checkout-status-badge--ready {
    border-color: rgba(52, 199, 89, 0.24);
    background: rgba(52, 199, 89, 0.12);
    color: #10692a;
}

.checkout-interno .checkout-summary-card {
    border: 1px solid rgba(2, 8, 63, 0.14);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(16, 26, 62, 0.96), rgba(28, 47, 104, 0.9));
    color: #f4f8ff;
    padding: 16px;
    box-shadow: 0 18px 34px rgba(12, 24, 60, 0.22);
    display: grid;
    gap: 14px;
}

.checkout-interno .checkout-summary-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 14px;
    align-items: stretch;
}

.checkout-interno .checkout-summary-main {
    display: grid;
    align-content: start;
    gap: 7px;
}

.checkout-interno .checkout-panel-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(36, 79, 189, 0.12);
    color: #244fbd;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-interno .checkout-summary-card .checkout-panel-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #d9e6ff;
}

.checkout-interno .checkout-summary-total {
    font-size: clamp(31px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.checkout-interno .checkout-summary-note {
    color: rgba(238, 244, 255, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.checkout-interno .checkout-campaign {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    align-content: start;
    gap: 5px;
}

.checkout-interno .checkout-campaign__label {
    color: rgba(228, 236, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-interno .checkout-campaign strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
}

.checkout-interno .checkout-campaign p {
    color: rgba(232, 239, 255, 0.82);
    font-size: 12px;
    line-height: 1.4;
}

.checkout-interno .checkout-campaign--empty {
    background: rgba(255, 255, 255, 0.06);
}

.checkout-interno .checkout-campaign--active {
    border-color: rgba(47, 211, 199, 0.22);
    background: linear-gradient(145deg, rgba(47, 211, 199, 0.12), rgba(255, 255, 255, 0.08));
}

.checkout-interno .checkout-campaign--adjusted {
    border-color: rgba(245, 181, 90, 0.24);
    background: linear-gradient(145deg, rgba(245, 181, 90, 0.14), rgba(255, 255, 255, 0.08));
}

.checkout-interno .checkout-campaign--removed {
    border-color: rgba(255, 125, 125, 0.26);
    background: linear-gradient(145deg, rgba(255, 125, 125, 0.14), rgba(255, 255, 255, 0.07));
}

.checkout-interno .checkout-link-btn {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
}

.checkout-interno .checkout-link-btn:hover {
    transform: none;
    filter: none;
    box-shadow: none;
}

.checkout-interno .checkout-summary-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.checkout-interno .checkout-money-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    display: grid;
    gap: 6px;
}

.checkout-interno .checkout-money-card span {
    color: rgba(226, 235, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.checkout-interno .checkout-money-card strong {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.05;
}

.checkout-interno .checkout-money-card--discount strong {
    color: #f9d487;
}

.checkout-interno .checkout-money-card--final {
    border-color: rgba(47, 211, 199, 0.18);
    background: linear-gradient(145deg, rgba(47, 211, 199, 0.12), rgba(255, 255, 255, 0.08));
}

.checkout-interno .checkout-money-card--final strong {
    color: #2fd3c7;
}

.checkout-interno .checkout-content-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.94fr);
    gap: 14px;
    min-height: 0;
    align-items: start;
    padding: 0 4px 6px 0;
    overflow: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
}

.checkout-interno .checkout-panel {
    border: 1px solid rgba(2, 8, 63, 0.1);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    display: grid;
    gap: 12px;
    min-height: 0;
}

.checkout-interno .checkout-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.checkout-interno .checkout-panel__head h3 {
    margin: 3px 0 0;
    font-size: 17px;
    line-height: 1.12;
    color: #16254f;
}

.checkout-interno .checkout-panel__head--action .checkout-link-btn {
    color: #244fbd;
}

.checkout-interno .checkout-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkout-interno .checkout-info-card {
    border: 1px solid rgba(2, 8, 63, 0.08);
    border-radius: 13px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.8);
    display: grid;
    gap: 5px;
    align-content: start;
}

.checkout-interno .checkout-info-card--wide {
    grid-column: span 2;
}

.checkout-interno .checkout-info-card span {
    color: #68758d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.checkout-interno .checkout-info-card strong {
    color: #1a274b;
    font-size: 14px;
    line-height: 1.35;
}

.checkout-interno .checkout-side-stack {
    display: grid;
    gap: 14px;
    min-height: 0;
    align-content: start;
}

.checkout-interno .checkout-panel--payment {
    align-content: start;
}

.checkout-interno .checkout-discount-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.checkout-interno .checkout-segment {
    border: 1px solid rgba(2, 8, 63, 0.12);
    background: rgba(255, 255, 255, 0.88);
    color: #41506c;
    border-radius: 12px;
    min-height: 38px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-interno .checkout-segment.is-active {
    border-color: rgba(36, 79, 189, 0.34);
    background: rgba(36, 79, 189, 0.12);
    color: #193f9f;
    box-shadow: inset 0 0 0 1px rgba(36, 79, 189, 0.08);
}

.checkout-interno .checkout-discount-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.checkout-interno .checkout-chip {
    border: 1px solid rgba(2, 8, 63, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: #33425e;
    border-radius: 999px;
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.checkout-interno .checkout-chip.is-active {
    border-color: rgba(36, 79, 189, 0.34);
    background: rgba(36, 79, 189, 0.12);
    color: #193f9f;
}

.checkout-interno .checkout-field {
    margin-top: 0;
}

.checkout-interno .checkout-field label {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6b84;
}

.checkout-interno .checkout-detalhe input,
.checkout-interno .checkout-detalhe select,
.checkout-interno .checkout-detalhe textarea {
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 13px;
}

.checkout-interno .checkout-field--discount input {
    min-height: 48px;
    font-size: 20px;
    font-weight: 800;
    color: #193f9f;
}

.checkout-interno .checkout-form-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 10px;
    align-items: start;
}

.checkout-interno .checkout-field--parcelas[hidden] {
    display: none !important;
}

.checkout-interno .checkout-detalhe textarea {
    min-height: 64px;
    max-height: 110px;
    resize: vertical;
}

.checkout-interno .checkout-discount-context {
    color: #5a6881;
    font-size: 12px;
    line-height: 1.45;
}

.checkout-interno .checkout-actionbar {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.97));
    box-shadow: 0 14px 26px rgba(2, 8, 63, 0.12);
}

.checkout-interno .checkout-actionbar__meta {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.checkout-interno .checkout-actionbar__meta span {
    color: #5a6881;
    font-size: 12px;
    font-weight: 700;
}

.checkout-interno .checkout-actionbar__meta strong {
    color: #13244d;
    font-size: 22px;
    line-height: 1;
}

.checkout-interno .btn-checkout-main {
    margin-top: 0;
    width: 280px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 14px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

@media (max-height: 820px) and (min-width: 981px) {
    .checkout-interno .checkout-layout {
        height: calc(100vh - 182px);
    }

    .checkout-interno .checkout-hero {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .checkout-interno .checkout-summary-card,
    .checkout-interno .checkout-panel,
    .checkout-interno .checkout-actionbar {
        padding: 13px;
    }

    .checkout-interno .checkout-summary-breakdown {
        gap: 8px;
    }

    .checkout-interno .checkout-money-card {
        padding: 11px;
    }

    .checkout-interno .checkout-detalhe textarea {
        min-height: 56px;
    }
}

@media (max-width: 1180px) {
    .checkout-interno .checkout-summary-head {
        grid-template-columns: 1fr;
    }

    .checkout-interno .checkout-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .checkout-interno .checkout-page {
        min-height: auto;
    }

    .checkout-interno .checkout-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-interno .checkout-hero__chips {
        justify-content: flex-start;
    }

    .checkout-interno .checkout-layout {
        height: auto;
        min-height: 0;
    }

    .checkout-interno .lista-atendimentos {
        max-height: 340px;
    }

    .checkout-interno .checkout-detalhe {
        overflow: visible;
        grid-template-rows: auto;
    }

    .checkout-interno .checkout-content-grid {
        overflow: visible;
        padding-right: 0;
    }

    .checkout-interno .checkout-actionbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-interno .btn-checkout-main {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .checkout-interno .checkout-summary-breakdown,
    .checkout-interno .checkout-info-grid,
    .checkout-interno .checkout-form-inline {
        grid-template-columns: 1fr;
    }

    .checkout-interno .checkout-info-card--wide {
        grid-column: span 1;
    }

    .checkout-interno .checkout-detalhe__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-interno .checkout-actionbar__meta strong {
        font-size: 20px;
    }
}

body.dark.checkout-interno .checkout-hero__chips span {
    background: rgba(209, 177, 106, 0.12) !important;
    border-color: rgba(209, 177, 106, 0.2) !important;
    color: #f4dfae !important;
}

body.dark.checkout-interno :where(
    .checkout-summary-card,
    .checkout-panel,
    .checkout-actionbar,
    .checkout-info-card,
    .checkout-money-card,
    .checkout-campaign,
    .checkout-pill,
    .checkout-chip,
    .checkout-segment,
    .checkout-status-badge,
    .checkout-lista li
) {
    border-color: rgba(124, 140, 182, 0.24) !important;
    color: #edf3ff !important;
}

body.dark.checkout-interno :where(.checkout-panel, .checkout-actionbar, .checkout-info-card, .checkout-segment, .checkout-chip) {
    background: rgba(16, 24, 43, 0.88) !important;
}

body.dark.checkout-interno .checkout-summary-card {
    background: linear-gradient(155deg, rgba(18, 28, 53, 0.98), rgba(25, 39, 74, 0.96)) !important;
}

body.dark.checkout-interno .checkout-campaign {
    background: rgba(17, 25, 45, 0.8) !important;
}

body.dark.checkout-interno :where(
    .checkout-item-title span,
    .checkout-item-value small,
    .checkout-item-row--meta,
    .checkout-info-card span,
    .checkout-field label,
    .checkout-discount-context,
    .checkout-actionbar__meta span
) {
    color: #aeb9d1 !important;
}

body.dark.checkout-interno .checkout-segment.is-active,
body.dark.checkout-interno .checkout-chip.is-active {
    background: rgba(209, 177, 106, 0.16) !important;
    color: #f7deb0 !important;
    border-color: rgba(209, 177, 106, 0.34) !important;
}

body.dark.checkout-interno .checkout-pill {
    background: rgba(17, 25, 45, 0.9) !important;
}

body.dark.checkout-interno .checkout-pill--status {
    background: rgba(29, 92, 47, 0.5) !important;
    color: #c5f1d0 !important;
}

body.dark.checkout-interno .checkout-link-btn,
body.dark.checkout-interno .checkout-summary-total,
body.dark.checkout-interno .checkout-money-card strong,
body.dark.checkout-interno .checkout-actionbar__meta strong {
    color: #ffffff !important;
}

body.pink.checkout-interno .checkout-hero__chips span {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #7b3d5f !important;
}

body.pink.checkout-interno :where(
    .checkout-summary-card,
    .checkout-panel,
    .checkout-actionbar,
    .checkout-info-card,
    .checkout-money-card,
    .checkout-campaign,
    .checkout-pill,
    .checkout-chip,
    .checkout-segment,
    .checkout-status-badge
) {
    border-color: #efcddd !important;
    color: #5b3048 !important;
}

body.pink.checkout-interno :where(.checkout-panel, .checkout-actionbar, .checkout-info-card, .checkout-segment, .checkout-chip) {
    background: rgba(255, 255, 255, 0.82) !important;
}

body.pink.checkout-interno .checkout-summary-card {
    background: linear-gradient(155deg, rgba(126, 56, 91, 0.95), rgba(168, 92, 130, 0.92)) !important;
}

body.pink.checkout-interno .checkout-summary-card :where(
    .checkout-panel-eyebrow,
    .checkout-summary-total,
    .checkout-summary-note,
    .checkout-money-card span,
    .checkout-money-card strong,
    .checkout-campaign__label,
    .checkout-campaign strong,
    .checkout-campaign p
) {
    color: #fff7fb !important;
}

body.pink.checkout-interno .checkout-pill {
    background: rgba(255, 232, 241, 0.8) !important;
    color: #8a4567 !important;
}

body.pink.checkout-interno .checkout-pill--status {
    background: rgba(181, 235, 200, 0.7) !important;
    color: #2a6e49 !important;
}

body.checkout-wizard-open {
    overflow: hidden;
}

.checkout-wizard {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: start center;
    box-sizing: border-box;
    padding: 92px 16px 24px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.checkout-wizard.is-open {
    opacity: 1;
    pointer-events: auto;
}

.checkout-wizard__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(79, 117, 255, 0.18), transparent 36%),
        rgba(8, 15, 32, 0.54);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.checkout-wizard__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 116px);
    display: grid;
    transform: translateY(22px) scale(0.96);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.checkout-wizard.is-open .checkout-wizard__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.checkout-wizard__panel {
    position: relative;
    display: grid;
    gap: 18px;
    max-height: calc(100vh - 116px);
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background:
        linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(243, 247, 255, 0.98));
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.22),
        0 10px 24px rgba(57, 83, 150, 0.14);
    overflow: hidden;
}

.checkout-wizard__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.checkout-wizard__header-copy {
    display: grid;
    gap: 8px;
}

.checkout-wizard__step-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 92, 197, 0.1);
    color: #20439e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__header h3 {
    margin: 0;
    color: #13244d;
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.checkout-wizard__header p {
    margin: 0;
    color: #5d6c87;
    font-size: 14px;
    line-height: 1.55;
    max-width: 680px;
}

.checkout-wizard__close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 48, 96, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: #21345d;
    box-shadow: 0 10px 22px rgba(20, 34, 73, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.checkout-wizard__close:hover {
    transform: translateY(-1px);
    border-color: rgba(59, 92, 197, 0.22);
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(20, 34, 73, 0.12);
}

.checkout-wizard__progress {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(24, 40, 84, 0.08);
    overflow: hidden;
}

.checkout-wizard__progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 20%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f6cf2 0%, #4cc9c3 100%);
    box-shadow: 0 0 18px rgba(76, 201, 195, 0.26);
    transition: width 0.26s ease;
}

.checkout-wizard__step-host {
    min-height: 460px;
    max-height: calc(100vh - 210px);
    padding-right: 6px;
    overflow: auto;
    scrollbar-gutter: stable;
}

.checkout-wizard__step {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.checkout-wizard__step-host[data-direction="forward"].is-animating .checkout-wizard__step {
    animation: checkoutWizardStepForward 0.32s ease;
}

.checkout-wizard__step-host[data-direction="backward"].is-animating .checkout-wizard__step {
    animation: checkoutWizardStepBackward 0.32s ease;
}

@keyframes checkoutWizardStepForward {
    from {
        opacity: 0;
        transform: translateX(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes checkoutWizardStepBackward {
    from {
        opacity: 0;
        transform: translateX(-24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.checkout-wizard__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(36, 79, 189, 0.1);
    color: #244fbd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__spotlight,
.checkout-wizard__inline-head,
.checkout-wizard__review-card,
.checkout-wizard__fact-card,
.checkout-wizard__money-card,
.checkout-wizard__choice,
.checkout-wizard__segment,
.checkout-wizard__confirm-card {
    border: 1px solid rgba(18, 33, 72, 0.09);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 34px rgba(19, 33, 71, 0.08);
}

.checkout-wizard__spotlight {
    display: grid;
    gap: 10px;
    padding: 20px 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(76, 201, 195, 0.15), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
}

.checkout-wizard__spotlight h4,
.checkout-wizard__inline-head h4 {
    margin: 0;
    color: #142450;
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.checkout-wizard__spotlight p,
.checkout-wizard__helper {
    margin: 0;
    color: #60708d;
    font-size: 14px;
    line-height: 1.55;
}

.checkout-wizard__helper.is-warning {
    color: #a6492e;
    font-weight: 700;
}

.checkout-wizard__plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(255, 255, 255, 0.96));
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.checkout-wizard__plan-card.is-muted {
    border-color: rgba(148, 163, 184, 0.22);
    background: #f8fafc;
}

.checkout-wizard__plan-card h4 {
    margin: 6px 0;
    color: #052e16;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.checkout-wizard__plan-card p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.checkout-wizard__plan-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.checkout-wizard__plan-note {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
    font-size: 12px;
}

.checkout-wizard__inline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 22px;
}

.checkout-wizard__inline-total {
    min-width: 140px;
    display: grid;
    gap: 4px;
    text-align: right;
}

.checkout-wizard__inline-total small {
    color: #687895;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__inline-total strong {
    color: #13244d;
    font-size: 22px;
    line-height: 1;
}

.checkout-wizard__context-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.checkout-wizard__context-pill {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 33, 72, 0.09);
    border-radius: 18px;
    background: rgba(247, 250, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.checkout-wizard__context-pill span {
    color: #6a7a96;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__context-pill strong {
    color: #162853;
    font-size: 14px;
    line-height: 1.35;
}

.checkout-wizard__fact-grid,
.checkout-wizard__review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-wizard__fact-card,
.checkout-wizard__review-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
}

.checkout-wizard__fact-card span,
.checkout-wizard__review-card span,
.checkout-wizard__money-card span {
    color: #6a7a96;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__fact-card strong,
.checkout-wizard__review-card strong {
    color: #152550;
    font-size: 16px;
    line-height: 1.35;
}

.checkout-wizard__fact-card--avatar {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.checkout-wizard__avatar {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #2d69ef, #4cc9c3);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 18px 32px rgba(45, 105, 239, 0.22);
    flex-shrink: 0;
}

.checkout-wizard__money-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.checkout-wizard__money-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
}

.checkout-wizard__money-card strong {
    color: #162853;
    font-size: clamp(24px, 2.4vw, 29px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.checkout-wizard__money-card--discount strong {
    color: #d78b1b;
}

.checkout-wizard__money-card--final {
    background:
        radial-gradient(circle at top right, rgba(76, 201, 195, 0.16), transparent 34%),
        rgba(245, 255, 254, 0.96);
    border-color: rgba(76, 201, 195, 0.24);
}

.checkout-wizard__money-card--final strong {
    color: #149b92;
}

.checkout-wizard__choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-wizard__choice-grid--payments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-wizard__choice,
.checkout-wizard__segment {
    width: 100%;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.checkout-wizard__choice:hover,
.checkout-wizard__segment:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 107, 243, 0.2);
    box-shadow: 0 22px 36px rgba(19, 33, 71, 0.12);
}

.checkout-wizard__choice.is-active,
.checkout-wizard__segment.is-active {
    border-color: rgba(47, 107, 243, 0.34);
    background:
        radial-gradient(circle at top right, rgba(47, 107, 243, 0.16), transparent 34%),
        rgba(246, 249, 255, 0.98);
    box-shadow: 0 20px 38px rgba(47, 107, 243, 0.16);
}

.checkout-wizard__choice i {
    color: #244fbd;
    font-size: 18px;
}

.checkout-wizard__choice strong,
.checkout-wizard__segment strong {
    color: #152550;
    font-size: 16px;
    line-height: 1.2;
}

.checkout-wizard__choice span,
.checkout-wizard__segment span {
    color: #64748f;
    font-size: 13px;
    line-height: 1.45;
}

.checkout-wizard__choice--payment {
    min-height: 156px;
    align-content: start;
}

.checkout-wizard__segment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-wizard__segment strong {
    font-size: 22px;
}

.checkout-wizard__field {
    display: grid;
    gap: 8px;
}

.checkout-wizard__field label {
    color: #5c6d89;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-wizard__field input,
.checkout-wizard__field select {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid rgba(18, 33, 72, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: #152550;
    font-size: 22px;
    font-weight: 800;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-wizard__field select {
    font-size: 16px;
    font-weight: 700;
}

.checkout-wizard__field input:focus,
.checkout-wizard__field select:focus {
    border-color: rgba(47, 107, 243, 0.34);
    box-shadow: 0 0 0 4px rgba(47, 107, 243, 0.12);
}

.checkout-wizard__field--compact {
    max-width: 240px;
}

.checkout-wizard__quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkout-wizard__chip {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(18, 33, 72, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #31425f;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.checkout-wizard__chip:hover {
    transform: translateY(-1px);
}

.checkout-wizard__chip.is-active {
    border-color: rgba(47, 107, 243, 0.34);
    background: rgba(47, 107, 243, 0.12);
    color: #1d49b4;
}

.checkout-wizard__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

.checkout-wizard__footer-side {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkout-wizard__footer-side--end {
    margin-left: auto;
}

.checkout-wizard__button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.checkout-wizard__button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.checkout-wizard__button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-wizard__button--primary {
    background: linear-gradient(135deg, #2d69ef, #5a82ff);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(45, 105, 239, 0.24);
}

.checkout-wizard__button--ghost {
    border-color: rgba(18, 33, 72, 0.12);
    background: rgba(255, 255, 255, 0.86);
    color: #21345d;
}

.checkout-wizard__button--danger {
    background: linear-gradient(135deg, #d85b52, #ea7b73);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(216, 91, 82, 0.2);
}

.checkout-wizard__confirm {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 13, 28, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.checkout-wizard__confirm-card {
    width: min(420px, 100%);
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
}

.checkout-wizard__confirm-card h4 {
    margin: 0;
    color: #13244d;
    font-size: 24px;
    line-height: 1.08;
}

.checkout-wizard__confirm-card p {
    margin: 0;
    color: #60708d;
    font-size: 14px;
    line-height: 1.55;
}

.checkout-wizard__confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.checkout-wizard__confirm[hidden] {
    display: none !important;
}

body.dark .checkout-wizard__panel {
    border-color: rgba(132, 156, 220, 0.18);
    background: linear-gradient(180deg, rgba(14, 21, 40, 0.98), rgba(18, 28, 52, 0.98));
}

body.dark :where(
    .checkout-wizard__spotlight,
    .checkout-wizard__inline-head,
    .checkout-wizard__fact-card,
    .checkout-wizard__review-card,
    .checkout-wizard__money-card,
    .checkout-wizard__choice,
    .checkout-wizard__segment,
    .checkout-wizard__confirm-card,
    .checkout-wizard__field input,
    .checkout-wizard__field select,
    .checkout-wizard__chip,
    .checkout-wizard__close,
    .checkout-wizard__button--ghost
) {
    background: rgba(17, 25, 45, 0.94) !important;
    border-color: rgba(132, 156, 220, 0.18) !important;
    color: #edf3ff !important;
}

body.dark :where(
    .checkout-wizard__header h3,
    .checkout-wizard__spotlight h4,
    .checkout-wizard__inline-head h4,
    .checkout-wizard__fact-card strong,
    .checkout-wizard__review-card strong,
    .checkout-wizard__money-card strong,
    .checkout-wizard__segment strong
) {
    color: #ffffff !important;
}

body.dark :where(
    .checkout-wizard__header p,
    .checkout-wizard__spotlight p,
    .checkout-wizard__helper,
    .checkout-wizard__choice span,
    .checkout-wizard__segment span,
    .checkout-wizard__fact-card span,
    .checkout-wizard__review-card span,
    .checkout-wizard__money-card span,
    .checkout-wizard__field label
) {
    color: #aeb9d1 !important;
}

body.pink .checkout-wizard__panel {
    background: linear-gradient(180deg, rgba(255, 248, 251, 0.98), rgba(255, 242, 247, 0.98));
}

@media (max-width: 980px) {
    .checkout-wizard {
        padding: 76px 9px 16px;
    }

    .checkout-wizard__dialog {
        width: 100%;
        max-height: calc(100vh - 92px);
    }

    .checkout-wizard__panel {
        max-height: calc(100vh - 92px);
        padding: 18px;
        border-radius: 24px;
    }

    .checkout-wizard__step-host {
        min-height: 0;
        max-height: calc(100vh - 260px);
    }

    .checkout-wizard__choice-grid--payments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .checkout-wizard {
        padding-top: 68px;
    }

    .checkout-wizard__header {
        gap: 14px;
    }

    .checkout-wizard__header h3 {
        font-size: 26px;
    }

    .checkout-wizard__step-host {
        max-height: calc(100vh - 244px);
        padding-right: 2px;
    }

    .checkout-wizard__fact-grid,
    .checkout-wizard__review-grid,
    .checkout-wizard__money-grid,
    .checkout-wizard__context-bar,
    .checkout-wizard__choice-grid,
    .checkout-wizard__segment-grid {
        grid-template-columns: 1fr;
    }

    .checkout-wizard__fact-card--avatar {
        grid-column: span 1;
    }

    .checkout-wizard__inline-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-wizard__inline-total {
        text-align: left;
    }

    .checkout-wizard__choice--payment {
        min-height: 132px;
    }

    .checkout-wizard__field input,
    .checkout-wizard__field select {
        min-height: 52px;
        font-size: 18px;
    }

    .checkout-wizard__field--compact {
        max-width: none;
    }

    .checkout-wizard__footer,
    .checkout-wizard__confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-wizard__footer-side,
    .checkout-wizard__footer-side--end {
        width: 100%;
        margin-left: 0;
    }

    .checkout-wizard__button {
        width: 100%;
    }
}

.checkout-page--wizard-only {
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 12px 12px !important;
    overflow-x: hidden !important;
}

.checkout-layout--wizard-only {
    width: min(1360px, 100%);
    max-width: 100%;
    overflow: visible;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    align-items: start;
}

body.checkout-interno .conteudo.checkout-page--wizard-only,
body.checkout-interno .checkout-page.checkout-page--wizard-only {
    height: auto !important;
    min-height: calc(100vh - 72px) !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.checkout-interno .checkout-layout.checkout-layout--wizard-only {
    width: min(1360px, calc(100% - 24px)) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    align-items: start !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.checkout-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.checkout-kpi-card,
.checkout-section {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(2, 8, 63, 0.1);
}

.checkout-kpi-card {
    padding: 16px 18px;
    display: grid;
    gap: 4px;
}

.checkout-kpi-card strong {
    color: #02083f;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1;
}

.checkout-kpi-card span {
    color: #5a6680;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-section {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.checkout-section--pending {
    border-color: rgba(2, 8, 63, 0.2);
    box-shadow: 0 22px 48px rgba(2, 8, 63, 0.14);
}

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

.checkout-section__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.btn-checkout-sale {
    border: 1px solid #02083f;
    background: #02083f;
    color: #ffffff;
    border-radius: 12px;
    min-height: 40px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(2, 8, 63, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-checkout-sale:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(2, 8, 63, 0.22);
}

.btn-checkout-sale:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-checkout-sale--full {
    width: 100%;
}

.checkout-section__header h2 {
    margin: 0;
    color: #02083f;
    font-size: 22px;
    line-height: 1.15;
}

.checkout-section__header p {
    margin: 5px 0 0;
    color: #53617a;
    font-size: 13px;
}

.checkout-lista--pending {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.checkout-lista--pending .checkout-list-item {
    grid-template-columns: minmax(210px, 1.35fr) minmax(250px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
}

.checkout-lista--pending .checkout-item-top {
    min-width: 0;
}

.checkout-item-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #53617a;
    font-size: 12px;
}

.checkout-item-meta-grid span,
.checkout-item-meta-grid strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #244081;
    font-weight: 800;
}

.checkout-item-meta-grid strong {
    background: #02083f;
    color: #ffffff;
}

.checkout-start-btn {
    border: 1px solid #02083f;
    background: #02083f;
    color: #ffffff;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 12px 22px rgba(2, 8, 63, 0.18);
}

.checkout-empty-state {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px dashed rgba(2, 8, 63, 0.18);
    border-radius: 14px;
    background: #f8fbff;
    color: #526078;
}

.checkout-empty-state i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #dff3df;
    color: #167233;
}

.checkout-empty-state strong {
    display: block;
    color: #02083f;
    font-size: 15px;
}

.checkout-empty-state span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
}

.checkout-history-filters {
    display: grid;
    grid-template-columns: 170px 170px 210px 150px minmax(220px, 1fr);
    gap: 10px;
    align-items: end;
}

.checkout-history-filters label {
    display: grid;
    gap: 6px;
}

.checkout-history-filters span {
    color: #53617a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-history-filters input,
.checkout-history-filters select {
    height: 40px;
    border: 1px solid rgba(2, 8, 63, 0.16);
    border-radius: 12px;
    background: #ffffff;
    color: #02083f;
    padding: 8px 10px;
    font-weight: 700;
}

.checkout-history-table-wrap {
    overflow-x: hidden;
    max-width: 100%;
    border: 1px solid rgba(2, 8, 63, 0.1);
    border-radius: 14px;
    scrollbar-width: none;
}

.checkout-history-table-wrap::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.checkout-history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
    table-layout: fixed;
    background: #ffffff;
}

.checkout-history-table th,
.checkout-history-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(2, 8, 63, 0.08);
    text-align: left;
    font-size: 12px;
}

.checkout-history-table th {
    background: #f4f7ff;
    color: #526078;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-history-table td {
    color: #344054;
}

.checkout-history-table td strong,
.checkout-history__value,
.checkout-history__type {
    color: #02083f;
    font-weight: 900;
}

.checkout-history__type {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #244081;
    font-size: 11px;
}

.checkout-sale-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    isolation: isolate;
}

.checkout-sale-modal.is-open {
    display: flex !important;
}

.checkout-sale-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 1;
}

.checkout-sale-modal__dialog {
    position: relative;
    width: min(900px, 100%);
    max-height: min(92vh, 780px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(2, 8, 63, 0.28);
    padding: 0;
    z-index: 2;
    transform: translateY(8px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.checkout-sale-modal.is-open .checkout-sale-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.checkout-sale-modal__header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding: 24px 24px 16px;
}

.checkout-sale-modal__header span {
    color: #53617a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-sale-modal__header h3 {
    margin: 4px 0 0;
    color: #02083f;
    font-size: 24px;
}

.checkout-sale-modal__header p {
    margin: 6px 0 0;
    color: #53617a;
    font-size: 13px;
    line-height: 1.45;
    max-width: 500px;
}

.checkout-sale-modal__close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 12px;
    background: #f4f7ff;
    color: #02083f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-sale-form {
    display: grid;
    max-height: calc(92vh - 132px);
    overflow-y: auto;
}

.checkout-sale-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.48fr);
    gap: 24px;
    padding: 0 24px 18px;
}

.checkout-sale-form-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.checkout-sale-summary {
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(2, 8, 63, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 30px rgba(2, 8, 63, 0.08);
}

.checkout-sale-summary__head {
    padding: 14px 16px;
    background: #f2f6ff;
    border-bottom: 1px solid rgba(2, 8, 63, 0.08);
}

.checkout-sale-summary__head span,
.checkout-sale-summary__total span {
    color: #53617a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-sale-summary__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px 16px 6px;
}

.checkout-sale-summary__list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}

.checkout-sale-summary__list dt {
    color: #53617a;
    font-size: 13px;
}

.checkout-sale-summary__list dd {
    margin: 0;
    color: #02083f;
    font-size: 13px;
    font-weight: 900;
    text-align: right;
}

.checkout-sale-summary__discount {
    color: #dc2626 !important;
}

.checkout-sale-summary__divider {
    margin-top: 6px;
    border-top: 1px dashed rgba(2, 8, 63, 0.16);
}

.checkout-sale-summary__total {
    display: grid;
    gap: 8px;
    margin: 8px 12px 14px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
    border: 1px solid rgba(2, 8, 63, 0.08);
}

.checkout-sale-summary__total strong {
    color: #02083f;
    font-size: 28px;
    line-height: 1;
}

.checkout-sale-summary__note {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 16px 16px;
    color: #53617a;
    font-size: 12px;
    line-height: 1.45;
}

.checkout-sale-summary__note i {
    color: #02083f;
    margin-top: 2px;
}

.checkout-sale-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkout-sale-field {
    display: grid;
    gap: 6px;
}

.checkout-sale-field span {
    color: #53617a;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-sale-field input,
.checkout-sale-field select,
.checkout-sale-field textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(2, 8, 63, 0.16);
    border-radius: 12px;
    background: #ffffff;
    color: #02083f;
    padding: 10px 11px;
    font-weight: 700;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.checkout-sale-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.checkout-sale-input-icon i {
    position: absolute;
    left: 12px;
    color: #53617a;
    font-size: 13px;
    pointer-events: none;
}

.checkout-sale-input-icon input {
    padding-left: 36px;
}

.checkout-sale-input-icon--money input {
    font-weight: 900;
}

.checkout-sale-quantity {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(2, 8, 63, 0.16);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.checkout-sale-quantity button {
    height: 100%;
    border: 0;
    background: #f4f7ff;
    color: #02083f;
    cursor: pointer;
    font-weight: 900;
}

.checkout-sale-quantity input {
    min-height: 42px;
    border: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none !important;
    padding: 8px;
}

.checkout-sale-field input:focus,
.checkout-sale-field select:focus,
.checkout-sale-field textarea:focus {
    border-color: rgba(2, 8, 63, 0.42);
    box-shadow: 0 0 0 3px rgba(2, 8, 63, 0.1);
}

.checkout-sale-field textarea {
    resize: vertical;
    min-height: 82px;
}

.checkout-sale-stock-badge {
    justify-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 12px;
    font-weight: 900;
}

.checkout-sale-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(2, 8, 63, 0.08);
    background: rgba(248, 251, 255, 0.82);
}

.checkout-sale-secondary {
    border: 1px solid rgba(2, 8, 63, 0.14);
    background: #ffffff;
    color: #02083f;
    border-radius: 12px;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(2, 8, 63, 0.06);
}

body.checkout-sale-modal-open {
    overflow: hidden;
}

.checkout-history__empty td {
    padding: 18px;
    color: #69758f;
    text-align: center;
}

.checkout-history__list {
    display: table-row-group;
    gap: 0;
    min-height: auto;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.checkout-history__item,
.checkout-history__empty {
    background: transparent;
}

.checkout-page--wizard-only .checkout-detalhe {
    display: none !important;
}

body.dark .checkout-wizard__context-pill {
    background: rgba(17, 25, 45, 0.94) !important;
    border-color: rgba(132, 156, 220, 0.18) !important;
}

body.dark :where(.checkout-wizard__context-pill span) {
    color: #aeb9d1 !important;
}

body.dark :where(.checkout-wizard__context-pill strong) {
    color: #ffffff !important;
}

/* Painel operacional do checkout no tema escuro */
body.dark.checkout-interno .checkout-kpi-card,
body.dark.checkout-interno .checkout-section {
    background: #16213e !important;
    border-color: #243554 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24) !important;
    color: #e2e8f0 !important;
}

body.dark.checkout-interno .checkout-section--pending {
    border-color: #2b3f66 !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3) !important;
}

body.dark.checkout-interno .checkout-kpi-card strong,
body.dark.checkout-interno .checkout-section__header h2,
body.dark.checkout-interno .checkout-empty-state strong {
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-kpi-card span,
body.dark.checkout-interno .checkout-section__header p,
body.dark.checkout-interno .checkout-history-filters span,
body.dark.checkout-interno .checkout-empty-state,
body.dark.checkout-interno .checkout-empty-state span {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .lista-count {
    background: rgba(59, 130, 246, 0.16) !important;
    border: 1px solid rgba(96, 165, 250, 0.24) !important;
    color: #bfdbfe !important;
}

body.dark.checkout-interno .checkout-empty-state,
body.dark.checkout-interno .lista-atendimentos li.checkout-vazio {
    background: #1a2748 !important;
    border-color: #2b3f66 !important;
    color: #cbd5e1 !important;
}

body.dark.checkout-interno .checkout-empty-state i {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #4ade80 !important;
}

body.dark.checkout-interno .checkout-lista li,
body.dark.checkout-interno .checkout-list-item {
    background: #1a2748 !important;
    border-color: #2b3f66 !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

body.dark.checkout-interno .checkout-lista li:hover,
body.dark.checkout-interno .checkout-list-item:hover {
    background: #1f3056 !important;
    border-color: #3b5480 !important;
}

body.dark.checkout-interno .checkout-item-title strong,
body.dark.checkout-interno .checkout-price {
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-item-title span,
body.dark.checkout-interno .checkout-item-meta,
body.dark.checkout-interno .checkout-item-value small {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-history-filters input,
body.dark.checkout-interno .checkout-history-filters select {
    background: #1b2a4a !important;
    border-color: #2b3f66 !important;
    color: #f8fafc !important;
    color-scheme: dark;
}

body.dark.checkout-interno .checkout-history-filters input::placeholder {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-history-filters input:focus,
body.dark.checkout-interno .checkout-history-filters select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

body.dark.checkout-interno .checkout-history-table-wrap {
    background: #16213e !important;
    border-color: #243554 !important;
}

body.dark.checkout-interno .checkout-history-table {
    background: #16213e !important;
}

body.dark.checkout-interno .checkout-history-table th {
    background: #111c36 !important;
    border-color: #243554 !important;
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-history-table td {
    background: #16213e !important;
    border-color: #243554 !important;
    color: #cbd5e1 !important;
}

body.dark.checkout-interno .checkout-history-table tbody tr:nth-child(even) td {
    background: #1a2748 !important;
}

body.dark.checkout-interno .checkout-history-table tbody tr:hover td {
    background: #1f3056 !important;
}

body.dark.checkout-interno .checkout-history-table td strong,
body.dark.checkout-interno .checkout-history__value,
body.dark.checkout-interno .checkout-history__type {
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-history__type {
    background: rgba(59, 130, 246, 0.16) !important;
    color: #bfdbfe !important;
}

body.dark.checkout-interno .checkout-history__empty td {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-sale-modal__dialog {
    background: #16213e !important;
    border-color: #243554 !important;
    color: #e2e8f0 !important;
}

body.dark.checkout-interno .checkout-sale-modal__header h3,
body.dark.checkout-interno .checkout-sale-summary__total strong,
body.dark.checkout-interno .checkout-sale-summary__list dd {
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-sale-modal__header span,
body.dark.checkout-interno .checkout-sale-modal__header p,
body.dark.checkout-interno .checkout-sale-field span,
body.dark.checkout-interno .checkout-sale-summary__head span,
body.dark.checkout-interno .checkout-sale-summary__total span,
body.dark.checkout-interno .checkout-sale-summary__list dt,
body.dark.checkout-interno .checkout-sale-summary__note {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-sale-field input,
body.dark.checkout-interno .checkout-sale-field select,
body.dark.checkout-interno .checkout-sale-field textarea,
body.dark.checkout-interno .checkout-sale-modal__close,
body.dark.checkout-interno .checkout-sale-secondary,
body.dark.checkout-interno .checkout-sale-quantity,
body.dark.checkout-interno .checkout-sale-summary,
body.dark.checkout-interno .checkout-sale-summary__total {
    background: #1a2748 !important;
    border-color: #2b3f66 !important;
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-sale-summary__head,
body.dark.checkout-interno .checkout-sale-actions,
body.dark.checkout-interno .checkout-sale-quantity button {
    background: #111c36 !important;
    border-color: #243554 !important;
}

body.dark.checkout-interno .checkout-sale-stock-badge {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #6ee7b7 !important;
}

body.dark.checkout-interno .btn-checkout-sale {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

@media (max-width: 980px) {
    .checkout-layout--wizard-only {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .checkout-kpis,
    .checkout-history-filters,
    .checkout-lista--pending .checkout-list-item {
        grid-template-columns: 1fr;
    }

    .checkout-section__header {
        display: grid;
    }

    .checkout-start-btn {
        width: 100%;
    }

    .checkout-history-table-wrap {
        overflow-x: auto;
    }

    .checkout-history-table {
        min-width: 720px;
    }

    .checkout-section__actions {
        justify-content: stretch;
    }

    .btn-checkout-sale,
    .checkout-sale-secondary,
    .checkout-sale-grid {
        width: 100%;
    }

    .checkout-sale-modal__dialog {
        max-height: calc(100vh - 24px);
    }

    .checkout-sale-form {
        max-height: calc(100vh - 136px);
    }

    .checkout-sale-body {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }

    .checkout-sale-grid {
        grid-template-columns: 1fr;
    }

    .checkout-sale-actions {
        flex-direction: column;
        padding: 14px 16px 18px;
    }
}

/* Registrar venda - ajuste final de layout do modal */
.checkout-sale-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
}

.checkout-sale-modal__dialog {
    width: min(920px, calc(100vw - 48px)) !important;
    max-height: calc(100vh - 48px) !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24) !important;
}

.checkout-sale-modal__header {
    flex: 0 0 auto !important;
    padding: 24px 24px 18px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.checkout-sale-form {
    min-height: 0 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.checkout-sale-body {
    min-height: 0 !important;
    flex: 1 1 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 290px !important;
    align-items: start !important;
    gap: 24px !important;
    padding: 0 24px 18px !important;
    overflow: visible !important;
}

.checkout-sale-form-panel {
    min-width: 0 !important;
    display: grid !important;
    gap: 14px !important;
}

.checkout-sale-client-picker {
    min-width: 0 !important;
    display: grid !important;
    gap: 8px !important;
}

.checkout-sale-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
}

.checkout-sale-field {
    min-width: 0 !important;
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
}

.checkout-sale-field > span {
    color: #5d6881 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.checkout-sale-field input,
.checkout-sale-field select,
.checkout-sale-field textarea {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid #d8deea !important;
    background: #ffffff !important;
    color: #050b36 !important;
    font: inherit !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.checkout-sale-field textarea {
    min-height: 78px !important;
    resize: vertical !important;
}

.checkout-sale-input-icon {
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.checkout-sale-input-icon i {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
    color: #050b36 !important;
    pointer-events: none !important;
}

.checkout-sale-input-icon input {
    padding-left: 40px !important;
}

.checkout-sale-suggestions {
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    max-height: 164px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    border: 1px solid #d8deea !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

.checkout-sale-suggestions.is-visible {
    display: grid !important;
}

.checkout-sale-suggestion {
    width: 100% !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 9px 11px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #f7f9fd !important;
    color: #050b36 !important;
    font: inherit !important;
    font-weight: 900 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease !important;
}

.checkout-sale-suggestion:hover,
.checkout-sale-suggestion:focus {
    border-color: #1f6feb !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(31, 111, 235, 0.13) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

.checkout-sale-suggestion small {
    color: #64708a !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.checkout-sale-quantity {
    width: 100% !important;
    height: 42px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    align-items: stretch !important;
    overflow: hidden !important;
    border: 1px solid #d8deea !important;
    border-radius: 10px !important;
    background: #ffffff !important;
}

.checkout-sale-quantity button {
    width: 42px !important;
    height: 40px !important;
    min-width: 42px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f4f7fb !important;
    color: #050b36 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.checkout-sale-quantity input {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    box-shadow: none !important;
    appearance: textfield !important;
}

.checkout-sale-quantity input::-webkit-outer-spin-button,
.checkout-sale-quantity input::-webkit-inner-spin-button {
    margin: 0 !important;
    appearance: none !important;
}

.checkout-sale-stock-badge {
    justify-self: start !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #047857 !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
}

.checkout-sale-summary {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dfe6f2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08) !important;
}

.checkout-sale-summary__head {
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    background: #f1f5fb !important;
    border-bottom: 1px solid #e5ebf4 !important;
}

.checkout-sale-summary__head span,
.checkout-sale-summary__total span {
    color: #5d6881 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.checkout-sale-summary__list {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 12px 16px 0 !important;
}

.checkout-sale-summary__list div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 10px 0 !important;
}

.checkout-sale-summary__list dt,
.checkout-sale-summary__list dd {
    margin: 0 !important;
}

.checkout-sale-summary__list dt {
    color: #5d6881 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
}

.checkout-sale-summary__list dd {
    color: #050b36 !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    text-align: right !important;
    word-break: break-word !important;
}

.checkout-sale-summary__discount {
    color: #ef233c !important;
}

.checkout-sale-summary__divider {
    border-top: 1px dashed #d8deea !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
}

.checkout-sale-summary__total {
    margin: 12px 12px 0 !important;
    padding: 16px !important;
    display: grid !important;
    gap: 8px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #eef4ff, #f8fbff) !important;
    border: 1px solid #dfe8f8 !important;
}

.checkout-sale-summary__total strong {
    color: #050b36 !important;
    font-size: 1.7rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.checkout-sale-summary__note {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 14px 16px 16px !important;
    color: #5d6881 !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
}

.checkout-sale-summary__note i {
    margin-top: 2px !important;
    color: #050b36 !important;
}

.checkout-sale-actions {
    flex: 0 0 auto !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 16px 24px 22px !important;
    border-top: 1px solid #edf1f7 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
}

.checkout-sale-secondary,
.btn-checkout-sale {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    padding: 0 18px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.checkout-sale-secondary {
    background: #ffffff !important;
    border: 1px solid #d8deea !important;
    color: #050b36 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04) !important;
}

.btn-checkout-sale {
    background: #050b36 !important;
    border: 1px solid #050b36 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 24px rgba(5, 11, 54, 0.22) !important;
}

body.dark.checkout-interno .checkout-sale-modal__dialog {
    background: #16213e !important;
    border-color: #243554 !important;
}

body.dark.checkout-interno .checkout-sale-field input,
body.dark.checkout-interno .checkout-sale-field select,
body.dark.checkout-interno .checkout-sale-field textarea,
body.dark.checkout-interno .checkout-sale-quantity,
body.dark.checkout-interno .checkout-sale-summary,
body.dark.checkout-interno .checkout-sale-secondary {
    background: #1a2748 !important;
    border-color: #2b3f66 !important;
    color: #f8fafc !important;
}

body.dark.checkout-interno .checkout-sale-quantity button,
body.dark.checkout-interno .checkout-sale-summary__head,
body.dark.checkout-interno .checkout-sale-actions {
    background: #111c36 !important;
    border-color: #243554 !important;
}

body.dark.checkout-interno .checkout-sale-summary__total {
    background: #1a2748 !important;
    border-color: #2b3f66 !important;
}

body.dark.checkout-interno .checkout-sale-field > span,
body.dark.checkout-interno .checkout-sale-summary__head span,
body.dark.checkout-interno .checkout-sale-summary__total span,
body.dark.checkout-interno .checkout-sale-summary__list dt,
body.dark.checkout-interno .checkout-sale-summary__note {
    color: #94a3b8 !important;
}

body.dark.checkout-interno .checkout-sale-modal__header h3,
body.dark.checkout-interno .checkout-sale-summary__list dd,
body.dark.checkout-interno .checkout-sale-summary__total strong,
body.dark.checkout-interno .checkout-sale-input-icon i,
body.dark.checkout-interno .checkout-sale-summary__note i,
body.dark.checkout-interno .checkout-sale-quantity button {
    color: #f8fafc !important;
}

@media (max-width: 980px) {
    .checkout-sale-modal.is-open {
        align-items: flex-start !important;
        padding: 12px !important;
    }

    .checkout-sale-modal__dialog {
        width: 100% !important;
        max-height: calc(100vh - 24px) !important;
    }

    .checkout-sale-body {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 0 16px 16px !important;
        overflow-y: auto !important;
    }

    .checkout-sale-grid {
        grid-template-columns: 1fr !important;
    }

    .checkout-sale-actions {
        padding: 14px 16px 18px !important;
    }
}

@media (max-width: 560px) {
    .checkout-sale-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .checkout-sale-secondary,
    .btn-checkout-sale {
        width: 100% !important;
    }
}

/* Registrar venda - correcao mobile */
.checkout-sale-modal {
    z-index: 210000 !important;
}

body.checkout-sale-modal-open #support-bubble {
    display: none !important;
}

@media (max-width: 980px) {
    .checkout-sale-modal.is-open {
        align-items: stretch !important;
        justify-content: center !important;
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)) !important;
    }

    .checkout-sale-modal__dialog {
        width: 100% !important;
        height: calc(100dvh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 18px !important;
    }

    .checkout-sale-modal__header {
        padding: 16px 16px 10px !important;
        gap: 12px !important;
    }

    .checkout-sale-modal__header h3 {
        font-size: 22px !important;
        line-height: 1.1 !important;
    }

    .checkout-sale-modal__header p {
        font-size: 12px !important;
        line-height: 1.35 !important;
        max-width: 280px !important;
    }

    .checkout-sale-form {
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    .checkout-sale-body {
        min-height: 0 !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        padding: 0 16px 108px !important;
    }

    .checkout-sale-field textarea {
        min-height: 58px !important;
        max-height: 88px !important;
    }

    .checkout-sale-summary {
        display: none !important;
    }

    .checkout-sale-actions {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom)) !important;
        border-radius: 0 0 18px 18px !important;
    }

    .checkout-sale-secondary,
    .btn-checkout-sale {
        width: 100% !important;
        min-height: 42px !important;
    }
}

/* Registrar venda - fluxo compacto mobile/tablet */
.checkout-sale-section {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.checkout-sale-section__heading {
    display: grid;
    gap: 8px;
}

.checkout-sale-section__heading > span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary, #525a68);
}

.checkout-sale-section__trigger,
.checkout-sale-expand {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--border-soft, #e1e1e1);
    background: var(--surface-base, #ffffff);
    color: var(--text-primary, #1f2433);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-sale-section__trigger:hover,
.checkout-sale-expand:hover {
    border-color: rgba(47, 78, 232, 0.26);
}

.checkout-sale-section__trigger-copy,
.checkout-sale-expand__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-sale-section__trigger-copy strong,
.checkout-sale-expand__copy strong {
    font-size: 15px;
    line-height: 1.25;
    color: inherit;
}

.checkout-sale-section__trigger-copy small,
.checkout-sale-expand__copy small {
    font-size: 12px;
    line-height: 1.35;
    color: var(--text-secondary, #525a68);
}

.checkout-sale-section__trigger-action {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #2846c4;
}

.checkout-sale-section__panel {
    display: grid;
    gap: 10px;
}

.checkout-sale-section.is-open .checkout-sale-expand i {
    transform: rotate(180deg);
}

.checkout-sale-field--compact {
    gap: 6px;
}

.checkout-sale-select-desktop {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border-soft, #e1e1e1);
    background: var(--surface-base, #ffffff);
    color: var(--text-primary, #1f2433);
    padding: 0 14px;
    font: inherit;
}

.checkout-sale-grid--main {
    align-items: start;
}

.checkout-sale-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-sale-inline-button {
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid var(--border-soft, #e1e1e1);
    background: var(--surface-base, #ffffff);
    color: var(--text-primary, #1f2433);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
}

.checkout-sale-inline-button[hidden] {
    display: none !important;
}

.checkout-sale-payment-chips {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-sale-payment-chip {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--border-soft, #e1e1e1);
    background: var(--surface-base, #ffffff);
    color: var(--text-primary, #1f2433);
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.checkout-sale-payment-chip.is-active {
    border-color: rgba(42, 76, 222, 0.45);
    background: rgba(42, 76, 222, 0.08);
    color: #2446c7;
}

.checkout-sale-field-error {
    font-size: 12px;
    line-height: 1.35;
    color: #c23d3d;
}

.checkout-sale-field-error:empty {
    display: none;
}

[data-sale-field].is-invalid .checkout-sale-input-icon,
[data-sale-field].is-invalid .checkout-sale-quantity,
[data-sale-field].is-invalid .checkout-sale-select-desktop,
[data-sale-field].is-invalid select,
[data-sale-field].is-invalid textarea {
    border-color: rgba(194, 61, 61, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(194, 61, 61, 0.12);
}

.checkout-sale-stock-badge[hidden] {
    display: none !important;
}

.checkout-sale-stock-badge.is-ok {
    background: rgba(46, 161, 96, 0.12);
    color: #1f7a48;
}

.checkout-sale-stock-badge.is-low {
    background: rgba(230, 170, 34, 0.14);
    color: #a76b00;
}

.checkout-sale-stock-badge.is-out {
    background: rgba(201, 61, 61, 0.14);
    color: #b03b3b;
}

.checkout-sale-mobile-summary {
    display: none;
}

.checkout-sale-actions__buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 10px;
}

body.dark.checkout-interno .checkout-sale-section__heading > span,
body.dark.checkout-interno .checkout-sale-section__trigger-copy small,
body.dark.checkout-interno .checkout-sale-expand__copy small {
    color: rgba(226, 232, 255, 0.72);
}

body.dark.checkout-interno .checkout-sale-section__trigger,
body.dark.checkout-interno .checkout-sale-expand,
body.dark.checkout-interno .checkout-sale-select-desktop,
body.dark.checkout-interno .checkout-sale-inline-button,
body.dark.checkout-interno .checkout-sale-payment-chip {
    background: rgba(12, 17, 31, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--text-on-dark, #ffffff) !important;
}

body.dark.checkout-interno .checkout-sale-payment-chip.is-active {
    background: rgba(65, 102, 255, 0.24) !important;
    border-color: rgba(123, 157, 255, 0.45) !important;
    color: var(--text-on-dark, #ffffff) !important;
}

body.dark.checkout-interno .checkout-sale-mobile-summary,
body.dark.checkout-interno .checkout-sale-actions {
    background: rgba(8, 12, 24, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark.checkout-interno .checkout-sale-field-error,
body.dark.checkout-interno .checkout-sale-stock-badge.is-out {
    color: #ff8b8b;
}

@media (min-width: 1025px) {
    .checkout-sale-section__trigger,
    .checkout-sale-expand {
        display: none !important;
    }

    .checkout-sale-section__panel {
        display: grid !important;
    }

    .checkout-sale-payment-chips,
    .checkout-sale-mobile-summary {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .checkout-sale-section--client .checkout-sale-section__heading > span,
    .checkout-sale-section--product .checkout-sale-section__heading > span {
        display: none;
    }

    .checkout-sale-modal.is-open {
        align-items: stretch !important;
        justify-content: center !important;
        padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)) !important;
    }

    .checkout-sale-modal__dialog {
        width: min(100%, 640px) !important;
        height: calc(100dvh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    .checkout-sale-modal__header {
        padding: 14px 16px 10px !important;
        gap: 12px !important;
    }

    .checkout-sale-modal__header span {
        display: none !important;
    }

    .checkout-sale-modal__header h3 {
        font-size: clamp(24px, 5vw, 28px) !important;
        line-height: 1.05 !important;
    }

    .checkout-sale-modal__header p {
        margin-top: 3px !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .checkout-sale-form {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .checkout-sale-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        padding: 0 16px 16px !important;
    }

    .checkout-sale-form-panel {
        padding-bottom: 8px !important;
    }

    .checkout-sale-summary {
        display: none !important;
    }

    .checkout-sale-section__panel[hidden] {
        display: none !important;
    }

    .checkout-sale-select-desktop {
        display: none !important;
    }

    .checkout-sale-payment-chips {
        display: flex;
    }

    .checkout-sale-payment-select {
        display: none !important;
    }

    .checkout-sale-grid--main {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .checkout-sale-field textarea {
        min-height: 72px !important;
        max-height: 124px !important;
    }

    .checkout-sale-actions {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: grid !important;
        gap: 12px !important;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid var(--border-muted, #eeeeee) !important;
        border-radius: 0 0 20px 20px !important;
        background: var(--surface-base, #ffffff) !important;
    }

    .checkout-sale-mobile-summary {
        display: grid;
        gap: 8px;
    }

    .checkout-sale-mobile-summary div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
        color: var(--text-secondary, #525a68);
    }

    .checkout-sale-mobile-summary strong {
        color: var(--text-primary, #1f2433);
    }

    .checkout-sale-mobile-summary__total {
        padding-top: 8px;
        border-top: 1px solid var(--border-muted, #eeeeee);
        font-size: 14px !important;
        font-weight: 800;
    }

    .checkout-sale-mobile-summary__total strong {
        font-size: 20px;
    }

    .checkout-sale-secondary,
    .btn-checkout-sale {
        width: 100% !important;
        min-height: 46px !important;
    }
}

@media (max-width: 560px) {
    .checkout-sale-grid--main {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 360px) {
    .checkout-sale-actions__buttons {
        grid-template-columns: 1fr;
    }
}
