.checkout-page {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: #f7f8f3;
    overflow: auto
}

.checkout-active {
    overflow: hidden
}

.checkout-top {
    background: white;
    border-bottom: 1px solid var(--line)
}

.checkout-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.checkout-header>span {
    color: #68776b;
    font-size: 12px
}

.checkout-demo {
    background: #fff2d9;
    color: #805a24;
    padding: 9px 18px;
    text-align: center;
    font-size: 11px
}

.checkout-wrap {
    padding-top: 34px;
    padding-bottom: 32px;
    max-width: 1150px
}

.checkout-heading .eyebrow {
    color: #70886b;
    font-size: 10px
}

.checkout-heading h1 {
    font-size: 30px;
    color: var(--green);
    margin: 10px 0 5px;
    letter-spacing: -.6px
}

.checkout-heading>p {
    font-size: 12px;
    color: var(--gray);
    margin: 0
}

.steps {
    display: flex;
    max-width: 690px;
    margin: 30px 0
}

.step {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
    color: #8c978c;
    white-space: nowrap
}

.step:after {
    content: '';
    height: 1px;
    background: #d9e0d3;
    width: 20px;
    margin-left: auto;
    margin-right: 12px
}

.step:last-child:after {
    display: none
}

.step b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border: 1px solid #cdd6c7;
    border-radius: 50%;
    font-weight: 500;
    flex-shrink: 0
}

.step.current {
    color: var(--green);
    font-weight: 700
}

.step.current b {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.step.done {
    color: #527c4f
}

.step.done b {
    background: #e7efdf;
    border-color: #c8d9bc
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start
}

.checkout-card,
.order-summary {
    background: #fff;
    border: 1px solid #e2e7dc;
    border-radius: 13px;
    padding: 28px
}

.card-heading {
    margin-bottom: 23px
}

.step-tag {
    display: block;
    color: #829071;
    font-size: 10px;
    letter-spacing: .7px;
    margin-bottom: 7px
}

.card-heading h2 {
    font-size: 23px;
    margin-bottom: 6px
}

.card-heading p {
    font-size: 12px;
    color: var(--gray);
    margin: 0
}

.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.checkout-fields .full {
    grid-column: 1/-1
}

.checkout-label {
    display: block;
    color: #435344;
    font-size: 12px;
    font-weight: 500
}

.checkout-label input,
.checkout-label select {
    display: block;
    width: 100%;
    border: 1px solid #dce2d6;
    border-radius: 7px;
    padding: 12px;
    background: #fff;
    margin-top: 7px;
    font-size: 12px;
    color: var(--ink)
}

.checkout-label input:focus,
.checkout-label select:focus {
    border-color: #547e51;
    outline: 2px solid #dbe9d3
}

.checkout-label input::placeholder {
    color: #a0a69c
}

.privacy-note {
    font-size: 10px;
    color: #7f8d75;
    padding: 17px 0
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 21px;
    margin-top: 16px
}

.checkout-actions .primary {
    font-size: 12px
}

.back-button {
    border: 0;
    background: none;
    padding: 8px 0;
    color: #64765e;
    font-size: 12px
}

.primary:disabled {
    background: #d4d9cf;
    color: #7f8879;
    cursor: not-allowed
}

.order-summary {
    position: sticky;
    top: 22px;
    padding: 24px
}

.summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px
}

.summary-heading h2 {
    font-size: 18px
}

.summary-heading>span {
    font-size: 11px;
    color: var(--gray)
}

.summary-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line)
}

.summary-product .mini {
    width: 58px;
    height: 57px;
    background: #f2f4ec;
    border-radius: 6px;
    flex-shrink: 0
}

.summary-product>div:nth-child(2) {
    flex: 1;
    min-width: 0
}

.summary-product strong {
    display: block;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 500
}

.summary-product small {
    display: block;
    font-size: 10px;
    color: var(--gray);
    margin-top: 3px
}

.summary-product>b {
    font-size: 12px;
    white-space: nowrap
}

.summary-costs {
    padding: 9px 0;
    border-bottom: 1px solid var(--line)
}

.summary-costs p {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin: 12px 0
}

.summary-costs small {
    font-size: 9px;
    color: var(--gray)
}

.summary-costs b {
    font-weight: 500
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 19px
}

.summary-total>span {
    font-size: 15px;
    font-weight: 600
}

.summary-total strong {
    font-size: 27px;
    color: var(--green)
}

.summary-trust {
    background: #f1f5eb;
    border-radius: 6px;
    padding: 13px;
    font-size: 10px;
    color: #62785b;
    line-height: 2.1;
    margin-top: 19px
}

.checkout-fine {
    font-size: 10px;
    color: #919a89;
    margin-top: 22px;
    text-align: center
}

.address-brief {
    padding: 16px;
    background: #f5f7f0;
    border: 1px solid #e2e7d9;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 21px
}

.address-brief>div {
    flex: 1
}

.address-brief strong {
    font-size: 12px
}

.address-brief span {
    font-size: 11px;
    margin-left: 12px;
    color: #75816d
}

.address-brief p {
    font-size: 11px;
    line-height: 1.8;
    color: #75816d;
    margin: 6px 0 0;
    overflow-wrap: anywhere
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 13px
}

.choice {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #dfe5d8;
    border-radius: 9px;
    padding: 18px 15px;
    cursor: pointer
}

.choice.selected {
    border-color: #6c915c;
    background: #f5f8ef;
    box-shadow: 0 0 0 1px #6c915c
}

.choice input {
    accent-color: var(--green);
    flex-shrink: 0
}

.choice-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf0e2;
    border-radius: 8px;
    font-size: 24px;
    color: var(--green);
    flex-shrink: 0
}

.choice-copy {
    flex: 1
}

.choice-copy strong {
    display: block;
    font-size: 13px
}

.choice-copy span {
    display: block;
    font-size: 11px;
    color: #6f7e65;
    margin-top: 4px
}

.choice-copy small {
    display: block;
    font-size: 10px;
    color: #8e9885;
    margin-top: 4px;
    line-height: 1.7
}

.choice>b {
    font-size: 17px;
    white-space: nowrap
}

.shipping-note {
    padding: 15px;
    background: #f6f4e9;
    border-radius: 7px;
    margin-top: 20px;
    color: #7c795c
}

.shipping-note strong {
    font-size: 11px
}

.shipping-note p {
    font-size: 10px;
    line-height: 1.9;
    margin: 5px 0 0
}

.review-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.review-line small {
    display: block;
    font-size: 10px;
    color: #8b967e;
    margin-bottom: 4px
}

.review-line strong {
    display: block;
    font-size: 13px
}

.review-line span {
    display: block;
    font-size: 11px;
    color: #7b8870;
    margin-top: 5px
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.9;
    font-size: 11px;
    margin-top: 23px;
    color: #63745b
}

.consent input {
    accent-color: var(--green);
    margin-top: 4px;
    flex-shrink: 0
}

.success-card>.step-tag,
.success-card>h2,
.success-card>.hint {
    text-align: center
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eaf3df;
    color: #436b35;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px
}

.success-card h2 {
    font-size: 24px
}

.success-card>.primary {
    display: block;
    width: 100%;
    margin-top: 20px
}

.success-card>.address-brief {
    margin-top: 20px
}

.status-timeline {
    margin: 24px 0
}

.status-timeline>div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: #8d9885;
    font-size: 12px
}

.status-timeline i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #dce3d3;
    border-radius: 50%;
    font-style: normal
}

.status-timeline .complete {
    color: var(--green);
    font-weight: 600
}

.status-timeline .complete i {
    background: #e9f2df;
    border-color: #bad2a9
}

.payment-amount {
    text-align: center;
    background: #f3f6ed;
    padding: 17px;
    border-radius: 8px;
    font-size: 12px;
    margin-top: 19px
}

.payment-amount strong {
    display: block;
    font-size: 28px;
    color: var(--green);
    margin-top: 5px
}

.qr-placeholder {
    margin: 23px auto 0;
    max-width: 235px;
    aspect-ratio: 1;
    border: 2px dashed #d4dec9;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #fafbf6, #fafbf6 8px, #f1f4e9 8px, #f1f4e9 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    text-align: center
}

.qr-placeholder>span {
    font-size: 64px;
    color: #8b9f7b;
    line-height: 1
}

.qr-placeholder strong {
    font-size: 12px
}

.qr-placeholder small {
    font-size: 10px;
    color: #7b8971
}

.checkout-active .mobile-nav {
    display: none
}

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

    .order-summary {
        position: static
    }

    .checkout-card {
        padding: 23px
    }

    .checkout-header {
        height: 78px
    }

    .checkout-header>span {
        display: none
    }

    .checkout-wrap {
        padding-top: 23px
    }

    .checkout-heading h1 {
        font-size: 26px
    }

    .steps {
        max-width: 100%;
        gap: 5px;
        margin: 23px 0
    }

    .step {
        flex-direction: column;
        gap: 6px;
        font-size: 10px
    }

    .step:after {
        position: absolute;
        left: 75%;
        top: 14px;
        width: 50%;
        margin: 0
    }

    .checkout-actions {
        gap: 9px
    }

    .checkout-actions .primary {
        font-size: 11px;
        padding: 12px 16px
    }

    .choice {
        padding: 15px 11px;
        gap: 9px
    }

    .choice-copy strong {
        font-size: 12px
    }

    .choice-icon {
        width: 30px;
        height: 30px;
        font-size: 20px
    }

    .checkout-fields {
        gap: 14px
    }

    .checkout-label {
        font-size: 11px
    }

    .checkout-label input,
    .checkout-label select {
        font-size: 13px;
        padding: 12px 10px
    }

    .checkout-demo {
        font-size: 10px
    }

    .summary-product strong {
        font-size: 12px
    }

    .checkout-header .text-link {
        font-size: 11px
    }
}

@media(max-width:370px) {
    .checkout-fields {
        grid-template-columns: 1fr
    }

    .checkout-card {
        padding: 18px
    }

    .checkout-heading h1 {
        font-size: 23px
    }

    .choice-icon {
        display: none
    }
}