body.ci-checkout-layout {
    min-height: 100svh;
    background: #090a0d;
}

body.ci-checkout-layout > main.ci-checkout-main {
    min-height: calc(100svh - 64px);
}

.ci-checkout-shell {
    box-sizing: border-box;
    width: min(100%, 960px);
    margin-inline: auto;
    padding: clamp(8px, 1.6vh, 16px) clamp(12px, 2vw, 22px) calc(24px + env(safe-area-inset-bottom));
}

.ci-checkout-title {
    margin: 0 0 10px;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.025em;
}

.ci-checkout-form {
    display: grid;
    gap: 10px;
}

.ci-checkout-primary-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.ci-checkout-field label,
.ci-checkout-label {
    display: block;
    margin: 0 0 5px;
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
}

.ci-checkout-select,
.ci-checkout-email,
.ci-checkout-promo-input,
.ci-checkout-quantity input,
.ci-checkout-details input {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    border: 1px solid #3f3f46;
    border-radius: 11px;
    background: #18191e;
    padding: 11px 13px;
    color: #f4f4f5;
    font: inherit;
    font-size: 16px;
    line-height: 1.25;
}

.ci-checkout-select {
    color-scheme: dark;
    padding-right: 34px;
}

.ci-checkout-select option,
.ci-checkout-select optgroup {
    background: #18191e;
    color: #f4f4f5;
    font-size: 16px;
}

.ci-checkout-select optgroup {
    background: #292b32;
    font-weight: 700;
}

.ci-checkout-select option {
    padding: 8px;
    font-weight: 400;
}

.ci-checkout-email-hint {
    margin: 5px 0 0;
    border: 1px solid rgb(244 63 94 / 32%);
    border-radius: 8px;
    background: rgb(136 19 55 / 18%);
    padding: 7px 9px;
    color: #fda4af;
    font-size: 12px;
    line-height: 1.3;
}

.ci-checkout-validation:empty,
.ci-checkout-validation-summary:empty {
    display: none;
}

.ci-checkout-validation,
.ci-checkout-validation-summary {
    display: block;
    margin-top: 4px;
    color: #fda4af;
    font-size: 13px;
    line-height: 1.3;
}

.ci-checkout-card {
    box-sizing: border-box;
    border: 1px solid #292b32;
    border-radius: 16px;
    background: #111318;
    padding: 12px;
}

.ci-checkout-license-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 12px;
    border-bottom: 1px solid #292b32;
    padding: 0 0 8px;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.3;
}

.ci-checkout-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    align-items: start;
    gap: 12px;
    margin-top: 9px;
}

.ci-checkout-promo-control {
    display: flex;
    gap: 8px;
}

.ci-checkout-promo-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
}

.ci-checkout-promo-button {
    flex: 0 0 auto;
    min-height: 48px;
    border: 1px solid #3f3f46;
    border-radius: 10px;
    background: #202127;
    padding: 0 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.ci-checkout-promo-button:hover {
    background: #2b2c34;
}


.ci-checkout-quantity input {
    min-height: 48px;
    text-align: center;
}

.ci-checkout-promo-message {
    margin: 5px 0 0;
    border-radius: 8px;
    background: rgb(5 150 105 / 16%);
    padding: 6px 8px;
    color: #6ee7b7;
    font-size: 13px;
    line-height: 1.35;
}

.ci-checkout-consent {
    margin-top: 9px;
    border: 1px solid #292b32;
    border-radius: 11px;
    padding: 9px 10px;
}

.ci-checkout-consent > div {
    align-items: center;
    gap: 10px;
}

.ci-checkout-checkbox {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 0;
    accent-color: #e11d48;
}

.ci-checkout-consent label {
    color: #e4e4e7;
    font-size: 13px;
    line-height: 1.35;
}

.ci-checkout-pay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
    align-items: center;
    gap: 12px;
    margin-top: 9px;
    border-top: 1px solid #292b32;
    padding-top: 9px;
}

.ci-checkout-price {
    min-width: 0;
}

.ci-checkout-old-price,
.ci-checkout-pay-label {
    display: block;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.25;
}

.ci-checkout-old-price strong {
    text-decoration: line-through;
}

.ci-checkout-pay-label {
    color: #34d399;
    font-weight: 650;
}

.ci-checkout-price-value {
    display: block;
    color: #34d399;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.15;
}

.ci-checkout-pay-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: #059669;
    padding: 12px 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 750;
    cursor: pointer;
}

.ci-checkout-pay-button:hover {
    background: #047857;
}

.ci-checkout-pay-button:focus-visible,
.ci-checkout-select:focus-visible,
.ci-checkout-email:focus-visible,
.ci-checkout-promo-input:focus-visible,
.ci-checkout-promo-button:focus-visible,
.ci-checkout-quantity input:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
}

.ci-checkout-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3px 10px;
    margin-top: 7px;
    border-radius: 8px;
    background: rgb(136 19 55 / 20%);
    padding: 9px 12px;
    color: #fda4af;
    font-size: 16px;
    line-height: 1.3;
}

.ci-checkout-countdown p {
    margin: 0;
    font-weight: 650;
}

.ci-checkout-countdown > div {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ci-checkout-countdown strong {
    font-size: 20px;
    line-height: 1;
}

.ci-checkout-details {
    border: 1px solid #292b32;
    border-radius: 11px;
    padding: 10px 12px;
    color: #a1a1aa;
    font-size: 13px;
}

.ci-checkout-details summary {
    color: #e4e4e7;
    font-weight: 650;
    cursor: pointer;
}

.ci-checkout-details summary span {
    color: #a1a1aa;
    font-weight: 400;
}

.ci-checkout-details p {
    margin: 9px 0 0;
    line-height: 1.45;
}

.ci-checkout-details input {
    margin-top: 9px;
}

@media (max-width: 760px) {
    .ci-checkout-countdown {
        gap: 2px 8px;
        padding: 7px 9px;
        font-size: 13px;
    }

    .ci-checkout-countdown > div {
        gap: 8px;
        font-size: 13px;
    }

    .ci-checkout-countdown strong {
        font-size: 16px;
    }

    .ci-checkout-primary-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .ci-checkout-shell {
        padding-top: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .ci-checkout-promo-control {
        gap: 6px;
    }

    .ci-checkout-promo-button {
        padding-inline: 9px;
        font-size: 13px;
    }

    .ci-checkout-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .ci-checkout-quantity {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 88px;
        align-items: center;
        gap: 10px;
    }

    .ci-checkout-quantity .ci-checkout-label {
        margin-bottom: 0;
    }

    .ci-checkout-pay-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .ci-checkout-old-price {
        white-space: nowrap;
    }

    .ci-checkout-pay-button {
        min-height: 58px;
    }
}

@media (max-width: 360px) {
    .ci-checkout-promo-control {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ci-checkout-promo-input {
        grid-column: 1 / -1;
    }
}

@media (max-height: 780px) {
    .ci-checkout-pay-row {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 8px -12px -12px;
        border-top: 1px solid #3f3f46;
        border-radius: 0 0 15px 15px;
        background: rgb(17 19 24 / 97%);
        padding: 8px 12px max(8px, env(safe-area-inset-bottom));
        box-shadow: 0 -10px 22px rgb(0 0 0 / 30%);
        backdrop-filter: blur(12px);
    }

    .ci-checkout-shell {
        padding-top: 6px;
    }

    .ci-checkout-title {
        margin-bottom: 7px;
    }

    .ci-checkout-form {
        gap: 8px;
    }

    .ci-checkout-select,
    .ci-checkout-email {
        min-height: 50px;
    }

    .ci-checkout-card {
        padding: 10px;
    }

    .ci-checkout-consent {
        margin-top: 7px;
        padding: 8px;
    }
}
.ci-checkout-qr-status {
    margin-bottom: 1rem;
    border: 1px solid #fda4af;
    border-radius: .75rem;
    background: #fff1f2;
    padding: .875rem 1rem;
    color: #9f1239;
}

.ci-checkout-qr-vehicle {
    border: 1px solid #d4d4d8;
    border-radius: .75rem;
    background: #f4f4f5;
    padding: .875rem 1rem;
    font-weight: 600;
}
