.checkout-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 58% 42%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f9f6f1;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
}

.checkout-left {
    padding: 36px 64px 28px;
    border-right: 1px solid #ece6dd;
}

.checkout-right {
    padding: 36px 56px;
    background: #f3efe8;
}

.checkout-logo {
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
}

.checkout-form {
    max-width: 620px;
}

.checkout-section-title {
    margin: 20px 0 10px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.checkout-form label {
    display: block;
    margin-bottom: 4px;
    color: #3b3b3b;
}

.checkout-form input {
    width: 100%;
    height: 34px;
    border: 1px solid #ded7cd;
    background: #fff;
    padding: 0 10px;
    margin-bottom: 8px;
    font-size: 0.8125rem;
}

.checkout-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.checkout-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.checkout-muted-box {
    border: 1px solid #ded7cd;
    background: #fff;
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #8d867c;
    margin-bottom: 4px;
}

.checkout-sub-note {
    margin: 0 0 10px;
    color: #888178;
    font-size: 0.75rem;
}

.checkout-payment-box {
    border: 1px solid #ded7cd;
    background: #fff;
    padding: 10px;
}

.checkout-payment-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.checkout-payment-brands {
    color: #9a9389;
    font-weight: 500;
    font-size: 0.6875rem;
}

.checkout-pay-alt {
    width: 100%;
    margin-top: 8px;
    height: 32px;
    border: 1px solid #ded7cd;
    background: #fff;
    text-align: left;
    padding: 0 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.checkout-radio,
.checkout-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.checkout-radio input,
.checkout-checkbox input {
    width: 14px;
    height: 14px;
    margin: 0;
}

.checkout-meta-row {
    border-top: 1px solid #ece6dd;
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    gap: 18px;
    color: #8f887f;
    font-size: 0.75rem;
}

.checkout-tagline {
    text-align: center;
    color: #8f887f;
    margin: 18px 0 8px;
}

.checkout-submit {
    width: 100%;
    min-height: 40px;
    border: none;
    background: #f0ece5;
    color: #b7b0a5;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-summary-title {
    margin: 0 0 14px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.order-item-thumb {
    width: 42px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-item-name strong {
    display: block;
    font-size: 0.8125rem;
}

.order-item-name {
    flex: 1;
}

.order-item-name span {
    color: #8b847b;
    font-size: 0.6875rem;
}

.order-item-price {
    font-size: 0.8125rem;
    font-weight: 500;
}

.order-breakdown {
    border-top: 1px solid #ddd5ca;
    border-bottom: 1px solid #ddd5ca;
    padding: 12px 0;
    margin-top: 16px;
}

.order-breakdown div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #4a4640;
}

.order-breakdown div:last-child {
    margin-bottom: 0;
}

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

.order-total strong {
    font-size: 1.625rem;
}

@media (max-width: 1100px) {
    .checkout-page {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .checkout-left,
    .checkout-right {
        padding: 24px;
        border-right: none;
    }

    .checkout-right {
        border-top: 1px solid #ddd5ca;
        order: 2;
    }

    .checkout-left {
        order: 1;
    }

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

@media (max-width: 48rem) {
    .checkout-page {
        min-height: auto;
    }

    .checkout-left,
    .checkout-right {
        padding: 18px 16px;
    }

    .checkout-logo {
        margin-bottom: 16px;
        font-size: 0.875rem;
    }

    .checkout-form {
        max-width: none;
    }

    .checkout-form input {
        min-height: 40px;
        height: auto;
        padding: 8px 10px;
        font-size: 1rem;
    }

    .checkout-muted-box {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 0.8125rem;
    }

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

    .checkout-pay-alt {
        min-height: 44px;
        height: auto;
        padding: 10px 12px;
        display: flex;
        align-items: center;
    }

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

    .checkout-submit {
        min-height: 48px;
        font-size: 0.875rem;
    }

    .order-item {
        display: grid;
        grid-template-columns: 42px 1fr auto;
        gap: 6px 10px;
        align-items: center;
        margin-bottom: 14px;
    }

    .order-item-thumb {
        grid-row: 1 / span 2;
        align-self: center;
    }

    .order-item-name {
        grid-column: 2;
        min-width: 0;
    }

    .order-item-price {
        grid-column: 3;
        grid-row: 1 / span 2;
        text-align: right;
        align-self: center;
    }

    .order-total strong {
        font-size: 1.35rem;
    }
}

@media (max-width: 36rem) {
    .checkout-left,
    .checkout-right {
        padding: 14px 12px;
    }

    .checkout-section-title {
        margin-top: 16px;
    }
}
