.checkout-page {
    padding-top: 24px;
    padding-bottom: 76px;
    color: #193b34;
}

.checkout-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 30px;
}

    .checkout-heading h1 {
        margin: 8px 0 7px;
        color: #173c35;
        font-family: Georgia,serif;
        font-size: clamp(3rem,5vw,4.4rem);
        letter-spacing: -.045em;
    }

    .checkout-heading p {
        margin: 0;
        color: #718078;
        font-size: 1.15rem;
    }

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 350px;
    align-items: start;
    gap: 25px;
}

.checkout-main {
    display: grid;
    gap: 16px;
}

.checkout-card, .checkout-summary .cart-summary-card, .checkout-summary .cart-promise {
    border: 1px solid #e4eae4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(23,60,53,.045);
}

.checkout-card {
    padding: 22px 24px;
}

.checkout-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

    .checkout-card-heading > div {
        flex: 1;
    }

    .checkout-card-heading h2 {
        margin: 0;
        color: #193b34;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .checkout-card-heading p {
        margin: 4px 0 0;
        color: #819087;
        font-size: .92rem;
    }

.checkout-section-number {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf4ed;
    color: #315b48;
    font-weight: 700;
}

.fulfilment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.fulfilment-option, .checkout-choice-card, .checkout-payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e0e7df;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s,background .15s;
}

    .fulfilment-option input, .checkout-choice-card input, .checkout-payment-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .fulfilment-option.is-selected, .checkout-choice-card.is-selected, .checkout-payment-option.is-selected {
        border-color: #6f9477;
        background: #f6faf5;
    }

    .fulfilment-option.is-disabled {
        opacity: .48;
        cursor: not-allowed;
    }

.fulfilment-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #edf4ed;
    color: #3d6a52;
    font-size: 1.45rem;
}

.fulfilment-option > span:nth-of-type(2), .checkout-choice-copy, .checkout-payment-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

    .fulfilment-option strong, .checkout-choice-copy strong, .checkout-payment-copy strong {
        color: #234537;
        font-size: 1rem;
    }

    .fulfilment-option small, .checkout-choice-copy small, .checkout-payment-copy small {
        color: #7e8b82;
        font-size: .86rem;
        line-height: 1.45;
    }

.option-check {
    margin-left: auto;
    color: #60816a;
    font-size: 1.2rem;
    opacity: 0;
}

.is-selected .option-check {
    opacity: 1;
}

.checkout-subsection {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0ec;
}

    .checkout-subsection h3 {
        margin: 0 0 12px;
        color: #28483b;
        font-size: 1.05rem;
    }

.checkout-field-label, .checkout-form-grid label {
    display: grid;
    gap: 6px;
    color: #50635a;
    font-size: .91rem;
    font-weight: 700;
}

.checkout-select, .checkout-form-grid input, .checkout-form-grid select {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #dbe4dc;
    border-radius: 8px;
    background: #fff;
    color: #193b34;
    font: inherit;
    font-weight: 400;
}

.checkout-select {
    max-width: 440px;
    margin-top: 7px;
}

.checkout-help, .checkout-optional {
    display: block;
    margin-top: 6px;
    color: #849188;
    font-size: .84rem;
    font-weight: 400;
}

.checkout-choice-list {
    display: grid;
    gap: 10px;
}

.checkout-choice-card {
    align-items: flex-start;
}

    .checkout-choice-card > input {
        position: static;
        opacity: 1;
        pointer-events: auto;
        accent-color: #315b48;
        margin-top: 3px;
    }

.checkout-choice-copy {
    flex: 1;
}

.checkout-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkout-address-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 100px;
    padding: 14px;
    border: 1px solid #e0e7df;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

    .checkout-address-card.is-selected {
        border-color: #6f9477;
        background: #f6faf5;
    }

    .checkout-address-card > input {
        margin: 3px 0 0;
        accent-color: #315b48;
    }

.checkout-address-copy {
    display: grid;
    gap: 5px;
    padding-right: 15px;
}

    .checkout-address-copy strong {
        color: #234537;
        font-size: .98rem;
    }

    .checkout-address-copy span {
        color: #68776e;
        font-size: .88rem;
        line-height: 1.45;
    }

    .checkout-address-copy small {
        color: #879289;
        font-size: .8rem;
    }

.checkout-address-check {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #60816a;
    opacity: 0;
}

.checkout-address-card.is-selected .checkout-address-check {
    opacity: 1;
}

.checkout-add-address {
    margin-left: auto;
    padding: 7px 10px;
    border: 1px solid #dce5dc;
    border-radius: 8px;
    background: #fff;
    color: #3b6250;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
}

    .checkout-add-address:hover {
        background: #f4f8f2;
    }

.checkout-same-address {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #607067;
    font-size: .94rem;
    cursor: pointer;
}

    .checkout-same-address input {
        accent-color: #315b48;
    }

.checkout-inline-note {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #f7f8f4;
    color: #718078;
    font-size: .9rem;
}

.checkout-address-form {
    border-color: #bbd0bd;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.checkout-validation-message {
    color: #a34d42;
    font-size: .8rem;
    font-weight: 500;
}

.checkout-form-grid input[aria-invalid="true"] {
    border-color: #c9796e;
}

.checkout-postal-control {
    display: flex;
    gap: 8px;
}

    .checkout-postal-control input {
        flex: 1;
        min-width: 0;
    }

.checkout-lookup-button {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid #d5e1d5;
    border-radius: 8px;
    background: #f3f8f1;
    color: #315b48;
    font-size: .82rem;
    font-weight: 700;
}

    .checkout-lookup-button:disabled {
        opacity: .6;
        cursor: wait;
    }

.checkout-google-address-mount {
    min-height: 44px;
    padding: 3px;
    border: 1px solid #dbe4dc;
    border-radius: 8px;
    background: #fff;
    color-scheme: light;
}

    .checkout-google-address-mount gmp-place-autocomplete {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        border: 0;
        border-radius: 6px;
        background-color: #fff;
        color: #193b34;
        color-scheme: light;
        font-family: var(--ui-font-body,"Nunito Sans","Segoe UI",sans-serif);
        font-size: 1rem;
    }

        .checkout-google-address-mount gmp-place-autocomplete::part(input) {
            background-color: #fff;
            color: #193b34;
            font: inherit;
        }

.checkout-location-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

    .checkout-location-actions small {
        color: #7e8b82;
        font-size: .8rem;
        font-weight: 400;
    }

.checkout-form-wide {
    grid-column: 1/-1;
}

.checkout-form-message {
    min-height: 20px;
    margin: 9px 0;
    color: #a34d42;
    font-size: .9rem;
}

.checkout-save-address {
    width: auto;
    min-width: 170px;
    min-height: 44px;
}

.checkout-payment-list {
    display: grid;
}

.checkout-payment-option > i {
    color: #4c7459;
    font-size: 1.45rem;
}

.checkout-payment-note {
    margin: 12px 0 0;
    color: #839087;
    font-size: .83rem;
}

    .checkout-payment-note i {
        color: #52775e;
    }

.checkout-confirm-overlay {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(18,39,33,.48);
    backdrop-filter: blur(3px);
}

    .checkout-confirm-overlay.d-none {
        display: none;
    }

.checkout-confirm-card {
    width: min(100%,480px);
    padding: 30px;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20,48,39,.22);
    text-align: center;
}

.checkout-confirm-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #edf5ed;
    color: #39684d;
    font-size: 1.8rem;
}

.checkout-confirm-card h2 {
    margin: 0 0 8px;
    color: #193b34;
    font-family: Georgia,serif;
    font-size: 1.65rem;
}

.checkout-confirm-card p {
    margin: 0;
    color: #748178;
    line-height: 1.55;
}

.checkout-confirm-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 14px 0;
    border-top: 1px solid #edf0ec;
    border-bottom: 1px solid #edf0ec;
    color: #64746b;
}

    .checkout-confirm-total strong {
        color: #193b34;
    }

.checkout-confirm-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .checkout-confirm-actions button {
        min-height: 46px;
        padding: 0 18px;
    }

.checkout-confirm-secondary {
    border: 1px solid #dbe4dc;
    border-radius: 9px;
    background: #fff;
    color: #315d48;
    font-weight: 600;
}

.checkout-test-payment-note {
    padding: 12px 14px;
    border: 1px solid #d8e8d8;
    border-radius: 9px;
    background: #f2f8f0;
    color: #46684d;
    font-size: .9rem;
    line-height: 1.5;
}

.upi-payment-card {
    position: relative;
    width: min(100%,560px);
    max-height: min(92vh,900px);
    overflow: auto;
    padding: 28px;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20,48,39,.22);
    text-align: center;
}

.upi-payment-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
    border: 1px solid #e1e9df;
    border-radius: 50%;
    background: #fff;
    color: #496a57;
    font-size: 1.05rem;
}

.upi-payment-card .section-kicker {
    display: block;
    margin: 3px 0 5px;
}

.upi-payment-card h2 {
    margin: 0 34px 9px;
    color: #193b34;
    font-family: Georgia,serif;
    font-size: 1.55rem;
}

.upi-payment-card > p {
    margin: 0 auto 17px;
    max-width: 460px;
    color: #748178;
    line-height: 1.5;
}

.upi-payment-order {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 15px;
    padding: 13px 15px;
    border: 1px solid #e5ece4;
    border-radius: 10px;
    background: #f8faf6;
    color: #66766c;
    text-align: left;
}

    .upi-payment-order strong {
        color: #193b34;
    }

.upi-open-app {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    text-decoration: none;
}

.upi-payment-vpa {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 11px;
    padding: 11px;
    border: 1px solid #e5ece4;
    border-radius: 9px;
    color: #748178;
}

    .upi-payment-vpa strong {
        color: #193b34;
        font-size: 1rem;
    }

    .upi-payment-vpa button {
        padding: 5px 9px;
        border: 1px solid #dce5dc;
        border-radius: 7px;
        background: #fff;
        color: #315d48;
        font-weight: 700;
    }

.upi-qr-section {
    display: grid;
    justify-items: center;
    gap: 7px;
    margin: 15px auto 0;
    color: #7c8980;
    font-size: .82rem;
}

    .upi-qr-section canvas {
        width: 184px;
        height: 184px;
        padding: 7px;
        border: 1px solid #e7ece5;
        border-radius: 9px;
        background: #fff;
    }

.upi-payment-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 17px 0 9px;
    color: #8a958d;
    font-size: .8rem;
}

    .upi-payment-divider:before, .upi-payment-divider:after {
        flex: 1;
        height: 1px;
        background: #e8ede7;
        content: "";
    }

.upi-reference-label {
    display: block;
    margin: 0 0 6px;
    color: #344f40;
    font-size: .88rem;
    font-weight: 700;
    text-align: left;
}

.upi-reference-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
}

    .upi-reference-row input {
        min-width: 0;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid #dce5dc;
        border-radius: 8px;
        color: #193b34;
        font: inherit;
        text-transform: uppercase;
    }

    .upi-reference-row .cart-primary-button {
        width: auto;
        min-height: 44px;
        padding: 9px 13px;
        white-space: nowrap;
    }

    .upi-reference-row button:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.upi-reference-message {
    min-height: 20px;
    margin: 8px 0;
    color: #52745c;
    font-size: .86rem;
}

.upi-pending-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    border: 1px solid #e7ebd8;
    border-radius: 9px;
    background: #fbfbf3;
    color: #777b61;
    font-size: .8rem;
    line-height: 1.45;
    text-align: left;
}

    .upi-pending-note i {
        color: #8b9566;
        font-size: 1.1rem;
    }

.upi-check-status {
    min-height: 40px;
    margin-top: 12px;
    padding: 8px 13px;
}

@media(max-width:520px) {
    .upi-payment-card {
        padding: 24px 16px 18px;
    }

        .upi-payment-card h2 {
            font-size: 1.3rem;
        }

    .upi-reference-row {
        grid-template-columns: 1fr;
    }

        .upi-reference-row .cart-primary-button {
            width: 100%;
        }
}

.checkout-notification-message {
    padding: 10px 13px;
    border: 1px solid #dce9dc;
    border-radius: 9px;
    background: #f6f9f4;
    color: #526d58;
    font-size: .85rem;
    line-height: 1.5;
}

.checkout-summary {
    position: sticky;
    top: 160px;
}

    .checkout-summary .cart-summary-card {
        min-width: 0;
        padding: 23px;
        overflow: hidden;
    }

    .checkout-summary h2 {
        margin: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid #edf0ec;
        color: #193b34;
        font-size: 1.3rem;
    }

.checkout-summary-items {
    display: grid;
    min-width: 0;
    gap: 10px;
    padding: 15px 0 6px;
    border-bottom: 1px solid #edf0ec;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: start;
    min-width: 0;
    width: 100%;
    gap: 12px;
    color: #718078;
    font-size: .9rem;
}

    .checkout-summary-item span {
        display: block;
        min-width: 0;
        max-width: 100%;
    }

.checkout-summary-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

    .checkout-summary-item-name:focus {
        outline: 2px solid #8eaa93;
        outline-offset: 2px;
    }

.checkout-summary-item strong {
    min-width: 0;
    color: #345344;
    text-align: right;
    white-space: nowrap;
}

.checkout-summary-item.is-unavailable {
    color: #a34e3f;
}

.checkout-summary-item-status {
    grid-column: 1 / -1;
    margin-top: -8px;
    color: #a34e3f;
    font-size: .78rem;
}

.checkout-stock-alert {
    margin: 12px 0;
    padding: 11px 12px;
    border: 1px solid #efd1c8;
    border-radius: 9px;
    background: #fff7f4;
    color: #9b4b3e;
    font-size: .84rem;
    line-height: 1.5;
}

    .checkout-stock-alert a {
        color: #315d48;
        font-weight: 700;
        text-decoration: underline;
    }

.checkout-summary .cart-checkout-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.checkout-summary .cart-promise {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 13px;
    padding: 16px;
}

    .checkout-summary .cart-promise > i {
        color: #789475;
        font-size: 1.5rem;
    }

    .checkout-summary .cart-promise div {
        display: grid;
        gap: 4px;
    }

    .checkout-summary .cart-promise strong {
        color: #304f42;
        font-size: .95rem;
    }

    .checkout-summary .cart-promise span {
        color: #859188;
        font-size: .85rem;
        line-height: 1.5;
    }

.checkout-success {
    display: grid;
    justify-items: center;
    max-width: 620px;
    margin: 20px auto;
    padding: 50px 25px;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    background: white;
    text-align: center;
}

    .checkout-success > span:first-child {
        display: grid;
        place-items: center;
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
        border-radius: 50%;
        background: #eaf4e9;
        color: #39704f;
        font-size: 2.4rem;
    }

    .checkout-success h2 {
        margin: 10px 0;
        color: #193b34;
        font-family: Georgia,serif;
        font-size: 2.3rem;
    }

    .checkout-success p {
        color: #758279;
    }

    .checkout-success .cart-primary-button {
        width: auto;
        min-width: 210px;
        margin-top: 12px;
    }

@media(max-width:991px) {
    .checkout-layout {
        grid-template-columns: minmax(0,1fr) 310px;
        gap: 17px;
    }
}

@media(max-width:767px) {
    .checkout-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media(max-width:520px) {
    .checkout-page {
        padding-top: 18px;
    }

    .checkout-card {
        padding: 18px 15px;
    }

    .checkout-card-heading {
        flex-wrap: wrap;
    }

        .checkout-card-heading h2 {
            font-size: 1.1rem;
        }

        .checkout-card-heading p {
            font-size: .85rem;
        }

    .fulfilment-options, .checkout-address-grid, .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form-wide {
        grid-column: auto;
    }

    .checkout-heading .cart-steps {
        gap: 8px;
        font-size: .82rem;
    }

        .checkout-heading .cart-steps > i {
            width: 13px;
        }

    .checkout-summary .cart-summary-card {
        padding: 20px 17px;
    }
}
.checkout-page .checkout-heading {
    padding:clamp(1rem,3vw,2rem) 0 1.15rem;
    border-bottom:1px solid var(--store-line,#e5e9e4);
}
.checkout-summary-heading {
    display:flex; align-items:center; justify-content:space-between; gap:1rem;
    padding-bottom:.8rem; border-bottom:1px solid var(--store-line,#e5e9e4);
}
.checkout-summary-heading h2 { padding:0; border:0; font-size:1.18rem; }
.checkout-summary-heading > span { flex:none; color:var(--store-muted,#56635b); font-size:.83rem; font-weight:600; }
.checkout-card-heading h2, .checkout-heading h1 { color:var(--store-ink,#193b34); }
.checkout-heading h1 { font-size:clamp(2.35rem,6vw,4.2rem); }
.checkout-card-heading p, .checkout-heading p, .checkout-summary-item { color:var(--store-muted,#56635b); }
.checkout-card-heading p { line-height:1.5; }
.checkout-page .cart-summary-line { font-size:.88rem; }
.checkout-page .cart-summary-total strong { font-size:clamp(1.22rem,2.05vw,1.55rem); }
.checkout-page .cart-checkout-button { min-height:48px; font-size:.96rem; }
.checkout-page .checkout-form-message:empty { display:none; }
.checkout-page :is(.fulfilment-option,.checkout-address-card,.checkout-payment-option):focus-within {
    outline:2px solid var(--store-accent,#64835e);
    outline-offset:2px;
}
.checkout-summary-item span.checkout-summary-item-name {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
    white-space:normal; overflow-wrap:anywhere; line-height:1.45;
}
.checkout-summary-item span.checkout-summary-item-name:focus { -webkit-line-clamp:unset; }
@media (min-width:992px) {
    .checkout-page .checkout-layout { grid-template-columns:minmax(0,1fr) minmax(345px,380px); }
}
@media (max-height:1020px) {
    .checkout-page .checkout-summary { position:static; }
}

/* Checkout uses its own compact store header and layout. */
:root[data-store-theme]:has(#main-content .checkout-page) :is(.announcement, .scroll-progress),
:root[data-store-theme]:has(#main-content .checkout-page) .store-header :is(.store-nav, .search-row, .header-actions > :not(.header-account-dropdown, .header-cart)) {
    display: none !important;
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-header {
    position: relative;
    inset: auto;
    background: var(--store-surface, #fff);
    border-bottom: 1px solid var(--store-line, #e4e7df);
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-header .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    min-height: 68px;
    padding: 8px clamp(16px, 3vw, 30px);
    gap: 16px;
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-header .header-actions {
    display: flex;
    gap: clamp(10px, 2vw, 24px);
    align-items: center;
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-header .store-logo-header {
    width: auto;
    max-width: clamp(100px, 34vw, 160px);
    height: 42px;
    object-fit: contain;
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-header .store-brand {
    font-size: clamp(1rem, 4vw, 1.4rem);
    white-space: normal;
}
#main-content .checkout-page {
    --checkout-surface: var(--store-surface, #fff);
    --checkout-line: var(--store-line, #e0e6dd);
    --checkout-ink: var(--store-ink, #1e2923);
    --checkout-muted: var(--store-muted, #536258);
    --checkout-accent: var(--store-forest, #173c35);
    --checkout-tint: color-mix(in srgb, var(--store-accent, #8eaa74) 13%, var(--checkout-surface));
    max-width: 1240px;
    padding: 26px clamp(16px, 3vw, 30px) clamp(40px, 6vw, 84px);
    color: var(--checkout-ink);
}
.checkout-back,
.checkout-support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--checkout-ink);
    font-weight: 650;
    font-size: .9rem;
    text-decoration: none;
}
.checkout-back:hover, .checkout-support-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#main-content .checkout-page .checkout-heading {
    margin: 0 0 26px;
    padding: 15px 0 22px;
    border-color: var(--checkout-line);
}
:root[data-store-theme] #main-content .checkout-page .checkout-heading h1 {
    margin: 4px 0 8px;
    font-family: inherit;
    font-size: clamp(2.2rem, 4.4vw, 3.35rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.08;
}
#main-content .checkout-page .checkout-heading p,
#main-content .checkout-page .checkout-card-heading p,
#main-content .checkout-page .checkout-payment-note {
    font-family: inherit;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--checkout-muted);
}
#main-content .checkout-page .checkout-layout { gap: clamp(16px, 2.4vw, 28px); }
#main-content .checkout-page .checkout-main { min-width: 0; gap: 15px; }
:root[data-store-theme] #main-content .checkout-page :is(.checkout-card, .checkout-summary .cart-summary-card) {
    border: 1px solid var(--checkout-line);
    border-radius: 18px;
    background: var(--checkout-surface);
    padding: clamp(16px, 2.3vw, 26px);
    box-shadow: 0 8px 24px rgb(24 37 27 / .045);
}
#main-content .checkout-page .checkout-card-heading {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
}
:root[data-store-theme] #main-content .checkout-page :is(.checkout-card-heading h2, .checkout-summary-heading h2) {
    color: var(--checkout-ink);
    font-family: inherit;
    font-size: 1.13rem;
    font-weight: 700;
    line-height: 1.35;
}
#main-content .checkout-page .checkout-section-number {
    border-radius: 11px;
    background: var(--checkout-tint);
    color: var(--checkout-ink);
}
#main-content .checkout-page :is(.fulfilment-option, .checkout-address-card, .checkout-payment-option).is-selected {
    background: var(--checkout-tint);
    border-color: var(--store-accent, #6e8c70);
}
#main-content .checkout-page :is(.checkout-select, .checkout-add-address) { min-height: 42px; }
#main-content .checkout-page .checkout-summary { min-width: 0; top: 20px; }
.checkout-summary-heading { padding-bottom: 13px; }
.checkout-summary-items {
    gap: 0;
    padding: 4px 0;
    border-color: var(--checkout-line);
}
#main-content .checkout-page .checkout-summary-item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 11px 0;
    color: var(--checkout-ink);
    font-size: .87rem;
}
.checkout-summary-item + .checkout-summary-item { border-top: 1px solid var(--checkout-line); }
.checkout-product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--checkout-tint);
    border: 1px solid var(--checkout-line);
}
.checkout-product-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.checkout-product-copy { min-width: 0; }
.checkout-product-copy small { display: block; margin: 3px 0 0; font-size: .78rem; }
.checkout-product-copy .checkout-product-quantity { color: var(--checkout-muted); }
#main-content .checkout-page .checkout-summary-item strong { color: var(--checkout-ink); font-variant-numeric: tabular-nums; }
#main-content .checkout-page .checkout-totals { padding: 8px 0; }
#main-content .checkout-page .checkout-totals .cart-summary-line { padding: 7px 0; color: var(--checkout-muted); }
#main-content .checkout-page .store-coupon { margin: 4px 0 12px; }
.checkout-order-action {
    border-top: 1px solid var(--checkout-line);
    margin-top: 14px;
}
#main-content .checkout-page .checkout-order-action .cart-summary-total {
    border: 0;
    margin: 0;
    padding: 18px 0;
    gap: 8px;
}
#main-content .checkout-page .checkout-order-action #placeOrder {
    border-radius: 11px;
    min-height: 49px;
    font-weight: 700;
}
.checkout-support-link {
    width: 100%;
    justify-content: flex-start;
    margin: 10px 0 0;
    min-height: 44px;
    padding: 8px 4px;
}
.checkout-support-link > i:last-child { margin-inline-start: auto; }
.checkout-mobile-review { display: none; }
@media (max-width: 767px) {
    #main-content .checkout-page .checkout-heading { gap: 14px; margin-bottom: 18px; padding-bottom: 15px; }
    #main-content .checkout-page .checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .checkout-mobile-review {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border: 1px solid var(--checkout-line);
        border-radius: 12px;
        color: var(--checkout-ink);
        background: var(--checkout-tint);
        text-decoration: none;
        padding: 11px 13px;
        min-height: 44px;
        font-size: .89rem;
    }
    #checkoutSummaryTitle { scroll-margin-top: 16px; }
}

#main-content .checkout-page .checkout-payment-option {
    padding-inline-end: 44px;
}
#main-content .checkout-page .checkout-payment-option::after {
    content: "";
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    border: 1px solid var(--checkout-muted);
    border-radius: 50%;
}
#main-content .checkout-page .checkout-payment-option.is-selected::after {
    border: 5px solid var(--checkout-accent);
    background: var(--checkout-surface);
}

.checkout-line-items > summary { display: none; }
:root[data-store-theme]:has(#main-content .checkout-page) .store-footer .footer-grid {
    grid-template-columns: minmax(155px, .65fr) minmax(0, 1.35fr);
    padding-block: 22px;
}
:root[data-store-theme]:has(#main-content .checkout-page) .store-footer :is(.footer-explore, .footer-account, .footer-store-description, #footerAddress, #footerSocialLinks) {
    display: none;
}
:root[data-store-theme]:has(#main-content .checkout-page) #floatingContact { display: none; }
@media (max-width: 767px) {
    #main-content .checkout-page { min-block-size: calc(100svh - 68px); }
    .checkout-line-items > summary {
        display: list-item;
        cursor: pointer;
        padding: 10px 0;
        font-weight: 650;
        color: var(--checkout-ink);
        min-height: 42px;
    }
    :root[data-store-theme]:has(#main-content .checkout-page) .store-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
#main-content .checkout-page .checkout-payment-note.is-unavailable,
#main-content .checkout-page #orderPlacementNotice {
    padding: 12px 14px;
    border: 1px solid var(--checkout-line);
    border-inline-start: 3px solid var(--store-accent, #79551f);
    border-radius: 9px;
    color: var(--checkout-ink);
    background: var(--checkout-tint);
}
#main-content .checkout-page .checkout-payment-note.is-unavailable a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
