:root {
    --max-w: 680px;
    --primary: #000748;
    --accent: #00DBB9;
    --blue: #1643B1;
    --white: #ffffff;
    --dark: #000531;
    --muted: #818998;
    --warning: #f9cc3c;
    --orange: #dc7421;
    --radius: 14px;
    --glass: rgba(255, 255, 255, 0.06);
    --card-shadow: 0 8px 30px rgba(0, 7, 72, 0.12);
    /* font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; */
}

* {
    box-sizing: border-box;
}

html {
    height: unset;
}

body {
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(180deg, #f6f9ff 0%, #eef6ff 100%);
    color: var(--primary);
    margin-top: 0 !important;
}

#logo-k {
    margin: 12px auto 26px;
    display: block;
}

#checkout {
    width: 100%;
    max-width: var(--max-w);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transform: translateZ(0);
    justify-self: center;
}

header.banner {
    display: flex;
    gap: 18px;
    align-items: center
}

.thumb {
    flex: 0 0 140px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(22, 67, 177, 0.12);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.02) saturate(1.05) brightness(.98);
    transition: transform .6s cubic-bezier(.2, .9, .3, 1)
}

.thumb:hover img {
    transform: scale(1.06)
}

.meta {
    flex: 1
}

.meta h1 {
    margin: 0;
    font-size: 18px;
    color: var(--dark);
    letter-spacing: -0.2px
}

.meta p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted)
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary)
}

.inst {
    font-size: 13px;
    color: var(--muted)
}

#checkout main {
    margin-top: 18px
}


form {
    padding: 8px;
    background: transparent;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0
}

.card {
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(0, 7, 72, 0.04);
    backdrop-filter: blur(6px);
}

label {
    display: block;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 6px
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 7, 72, 0.08);
    background: transparent;
    font-size: 14px;
    color: var(--dark);
    outline: none;
    transition: all .18s ease
}

input:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 7, 72, 0.06);
    border-color: var(--accent)
}

/* #data-check input {
    margin: 4px 3px 0 0;
} */

#data-card-check {
    display: inline-block;
}

#holder-check {
    margin-right: 3px;
}

#holder-check:focus {
    transform: unset;
}

#holder-details {
    display: none;
}

#holder-details.show {
    display: block;
}

hr {
    margin: 14px 0;
    border: none;
    border-top: 1px solid rgba(0, 7, 72, 0.04)
}

.row {
    display: flex;
    gap: 10px
}

.row .col {
    flex: 1
}

.col-50 {
    width: 50%;
}

.margin-t {
    margin-top: 12px;
}

.payments {
    display: flex;
    gap: 8px;
    margin-top: 8px
}

.pay-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 7, 72, 0.06);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    transition: all .18s ease
}

.pay-btn.active {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 219, 185, 0.12);
    transform: translateY(-3px)
}

legend {
    font-weight: bold;
}

.small {
    font-size: 12px;
    color: var(--muted);
}

.summary {
    position: relative;
    margin-top: 10px;
}

.summary .card {
    padding: 14px
}

.summary h3 {
    margin: 0 0 12px;
    font-size: 15px
}

.summary .line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px dashed rgba(0, 7, 72, 0.04)
}

.total {
    font-weight: 800;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 2px;
}

.bt-primary {
    /* background: linear-gradient(90deg, var(--primary), var(--blue));
            transition: transform .12s ease, filter .12s ease */
    padding: 12px 14px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(22, 67, 177, 0.12);
}

.bt-primary:active {
    /* transform: translateY(2px) */
}

.note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px
}

.error {
    color: #b00020;
    font-size: 12px;
    margin: 2px 0 6px 4px;
}

footer.copy {
    margin-top: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 13px
}

.animate-fade {
    opacity: 0;
    transform: translateY(8px);
    transition: all .36s cubic-bezier(.2, .9, .3, 1)
}

.animate-fade.show {
    opacity: 1;
    transform: none
}


@media (max-width:720px) {
    .summary {
        order: 2
    }
}






.modal {
    position: fixed;
    left: -6px;
    top: 0;
    z-index: 20;
    transition: 0.3s all;
    opacity: 0;
    visibility: hidden;
}

.modal-back {
    width: 100vw;
    height: 100vh;
    background-color: #000748D6;
    opacity: 0.9;
    backdrop-filter: blur(10px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 800px;
    max-height: calc(100vh - 40px);
    position: absolute;
    z-index: 21;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    padding: 50px 50px 100px;
    transform: translate(-50%, -50%);
    color: #000;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
}

.modal-body {
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    text-align: center;
    padding: 2px 0 0 1px;
    width: 32px;
    height: 32px;
    font-size: 36px;
    color: #000;
    cursor: pointer;
    transition: 0.2s transform;
    border: unset;
    background: unset;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-header {
    padding-bottom: 16px;
}


.modal h1 {
    color: #07306F;
    font-size: 40px;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 30px !important;
}

.modal-body {
    padding: 40px 65px;
}

.modal-body>p {
    text-align: center;
}

.modal button[type="submit"] {
    display: block;
    margin: 16px auto 0;
    padding: 16px 60px;
    font-size: 18px;
}

.modal .modal-methods {
    display: none;
    text-align: center;
}

.modal .bt-primary {
    margin: 0 8px;
}

.modal #billet {
    margin-top: 50px;
}

.modal #pix {
    margin-top: 20px;
}

.modal #pix img {
    width: 320px;
}

.modal #pix button {
    margin-top: 12px;
    width: 160px;
}

/* .modal #cc{} */

@media(max-width: 1024px) {
    .modal-content {
        max-width: 100%;
    }
}


@media(max-width: 760px) {
    .modal-body {
        padding: 10px 20px 20px 0;
    }

    .modal-body h1 {
        font-size: 32px;
    }
}

@media(max-width: 600px) {

    .modal-content {
        padding: 30px 20px 100px;
        top: 86px;
    }
}

@media(max-width: 440px) {}