.checkout-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 9% 8%, rgba(234, 220, 188, 0.5) 0 5%, transparent 5.2%),
        #fffaf0;
}

.checkout-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(252, 241, 212, 0.96);
    box-shadow: 0 6px 24px rgba(74, 48, 40, 0.06);
    backdrop-filter: blur(12px);
}

.checkout-nav {
    display: grid;
    min-height: var(--navbar-height);
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
}

.checkout-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-progress li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.checkout-progress li:not(:last-child)::after {
    width: 28px;
    height: 1px;
    margin-left: 4px;
    background: var(--line);
    content: '';
}

.checkout-progress li > span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    font-size: 11px;
    font-weight: 700;
}

.checkout-progress li > span svg {
    width: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-progress .is-complete,
.checkout-progress .is-active {
    color: var(--green-dark);
}

.checkout-progress .is-complete > span,
.checkout-progress .is-active > span {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.checkout-content-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.checkout-content-back:hover {
    border-color: rgba(74, 48, 40, 0.35);
    background: var(--cream);
    transform: translateX(-2px);
}

.checkout-content-back svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-main {
    padding: 52px 0 90px;
}

.checkout-heading {
    display: grid;
    justify-items: start;
    margin-bottom: 30px;
}

.checkout-heading h1,
.checkout-card-heading h2,
.checkout-summary-heading h2,
.checkout-empty-page h2,
.checkout-success h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
}

.checkout-heading h1 {
    margin-top: 8px;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.04em;
}

.checkout-heading p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 16px;
}

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

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-card,
.checkout-summary,
.checkout-empty-page,
.checkout-success {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 38px rgba(74, 48, 40, 0.06);
}

.checkout-card {
    padding: 26px;
}

.checkout-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.checkout-card-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: var(--green);
}

.checkout-card-heading svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.checkout-card-heading small,
.checkout-summary-heading span {
    display: block;
    margin-bottom: 2px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.checkout-card-heading h2 {
    font-size: 27px;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.checkout-form label,
.checkout-notes {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.checkout-form label small,
.checkout-notes small {
    display: inline;
    color: var(--muted);
    font-weight: 500;
}

.checkout-form .checkout-field-help {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.checkout-schedule-field {
    display: grid;
    gap: 8px;
    align-content: start;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.checkout-field-label {
    display: flex;
    min-height: 25px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.checkout-form .checkout-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(193, 119, 55, 0.2);
    border-radius: 999px;
    background: rgba(193, 119, 55, 0.09);
    color: var(--orange);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.checkout-hours-badge svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.checkout-date-picker,
.checkout-time-picker {
    position: relative;
}

.checkout-date-trigger,
.checkout-time-trigger {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: var(--ink);
    padding: 13px 14px;
    font: inherit;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.checkout-date-trigger:hover,
.checkout-time-trigger:hover {
    border-color: rgba(74, 48, 40, 0.38);
    background: #fffdf7;
}

.checkout-date-trigger:focus-visible,
.checkout-date-picker.is-open .checkout-date-trigger,
.checkout-time-trigger:focus-visible,
.checkout-time-picker.is-open .checkout-time-trigger {
    border-color: rgba(74, 48, 40, 0.55);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(74, 48, 40, 0.08);
}

.checkout-date-trigger svg,
.checkout-time-trigger svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 160ms ease;
}

.checkout-time-picker.is-open .checkout-time-trigger svg {
    transform: rotate(180deg);
}

.checkout-date-popover,
.checkout-time-popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    border: 1px solid rgba(74, 48, 40, 0.16);
    border-radius: 15px;
    background: #fffdf7;
    padding: 12px;
    box-shadow: 0 18px 45px rgba(74, 48, 40, 0.18);
}

.checkout-date-popover {
    min-width: 310px;
}

.checkout-calendar-heading {
    display: grid;
    align-items: center;
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
    margin-bottom: 11px;
}

.checkout-calendar-heading strong {
    color: var(--ink);
    font-size: 13px;
    text-align: center;
    text-transform: capitalize;
}

.checkout-calendar-heading button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(74, 48, 40, 0.12);
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.checkout-calendar-heading button:hover,
.checkout-calendar-heading button:focus-visible {
    border-color: rgba(184, 121, 66, 0.55);
    outline: 0;
    background: var(--cream);
}

.checkout-calendar-heading button:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.checkout-calendar-heading svg {
    width: 17px;
    height: 17px;
}

.checkout-calendar-weekdays,
.checkout-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.checkout-calendar-weekdays {
    margin-bottom: 5px;
}

.checkout-calendar-weekdays span {
    color: var(--muted);
    padding: 3px 0;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.checkout-calendar-day {
    display: grid;
    min-width: 0;
    min-height: 34px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    padding: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.checkout-calendar-day:hover:not(:disabled):not(.is-selected),
.checkout-calendar-day:focus-visible:not(:disabled):not(.is-selected) {
    border-color: rgba(184, 121, 66, 0.45);
    outline: 0;
    background: var(--cream);
    transform: translateY(-1px);
}

.checkout-calendar-day.is-outside-month {
    color: rgba(117, 92, 82, 0.45);
}

.checkout-calendar-day.is-today:not(.is-selected) {
    border-color: rgba(193, 119, 55, 0.55);
    color: var(--orange);
}

.checkout-calendar-day.is-selected,
.checkout-calendar-day.is-selected:hover,
.checkout-calendar-day.is-selected:focus-visible {
    border-color: var(--green);
    outline: 0;
    background: var(--green);
    color: white;
}

.checkout-calendar-day:disabled {
    color: rgba(117, 92, 82, 0.2);
    cursor: not-allowed;
}

.checkout-time-popover-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 1px 3px;
}

.checkout-time-popover-heading strong {
    color: var(--ink);
    font-size: 13px;
}

.checkout-time-popover-heading small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.checkout-time-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-height: 310px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.checkout-time-option {
    min-height: 36px;
    border: 1px solid rgba(74, 48, 40, 0.12);
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    padding: 7px 5px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.checkout-time-option:hover:not(:disabled),
.checkout-time-option:focus-visible:not(:disabled) {
    border-color: rgba(184, 121, 66, 0.55);
    outline: 0;
    background: var(--cream);
    transform: translateY(-1px);
}

.checkout-time-option.is-selected {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.checkout-time-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.checkout-form input:not([type='radio']),
.checkout-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    background: var(--white);
    color: var(--ink);
    padding: 13px 14px;
    font-size: 15px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-form textarea {
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: rgba(74, 48, 40, 0.55);
    box-shadow: 0 0 0 4px rgba(74, 48, 40, 0.08);
}

.fulfillment-fieldset,
.pickup-location-fieldset,
.payment-method-fieldset {
    margin: 0 0 18px;
    border: 0;
    padding: 0;
}

.pickup-location-fieldset legend {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.checkout-fulfillment,
.checkout-pickup-locations,
.checkout-payment-method {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkout-pickup-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-payment-method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-fulfillment label,
.checkout-pickup-locations label,
.checkout-payment-method label {
    position: relative;
    display: block;
}

.checkout-pickup-locations [data-pickup-location-option][hidden] {
    display: none;
}

.checkout-fulfillment input,
.checkout-pickup-locations input,
.checkout-payment-method input {
    position: absolute;
    opacity: 0;
}

.checkout-fulfillment span,
.checkout-pickup-locations span,
.checkout-payment-method span {
    display: grid;
    min-height: 118px;
    align-content: center;
    justify-items: start;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    padding: 15px;
    transition: 160ms ease;
}

.checkout-fulfillment span svg,
.checkout-pickup-locations span svg,
.checkout-payment-method span svg {
    width: 20px;
    margin-bottom: 5px;
    fill: none;
    stroke: var(--green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.checkout-fulfillment input:checked + span,
.checkout-pickup-locations input:checked + span,
.checkout-payment-method input:checked + span {
    border-color: var(--green);
    background: var(--sage);
    box-shadow: inset 0 0 0 1px var(--green);
}

.checkout-fulfillment strong,
.checkout-pickup-locations strong,
.checkout-payment-method strong {
    font-size: 14px;
}

.checkout-fulfillment small,
.checkout-pickup-locations small,
.checkout-payment-method small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.checkout-error {
    margin: 0;
    border: 1px solid rgba(166, 76, 44, 0.18);
    border-radius: 11px;
    background: #fce9e2;
    color: #a64c2c;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-summary {
    position: sticky;
    top: calc(var(--navbar-height) + 22px);
    overflow: hidden;
    padding: 24px;
}

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

.checkout-summary-heading h2 {
    font-size: 27px;
}

.checkout-summary-heading a {
    display: inline-flex;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    color: var(--green);
    padding: 0 11px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.checkout-summary-heading a:hover {
    background: var(--green);
    color: white;
    transform: translateY(-1px);
}

.checkout-summary-heading a svg {
    width: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-items {
    display: grid;
    max-height: 390px;
    overflow-y: auto;
}

.checkout-item {
    display: grid;
    align-items: start;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
}

.checkout-item img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.checkout-item-copy h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.25;
}

.checkout-item-copy > span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.checkout-quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.checkout-quantity button,
.checkout-item-end button {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    color: var(--green);
}

.checkout-quantity button {
    width: 25px;
    height: 25px;
}

.checkout-quantity svg,
.checkout-item-end svg {
    width: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-quantity strong {
    min-width: 13px;
    font-size: 13px;
    text-align: center;
}

.checkout-item-end {
    display: grid;
    height: 64px;
    justify-items: end;
    align-content: space-between;
}

.checkout-item-end button {
    width: 27px;
    height: 27px;
    border-color: rgba(166, 76, 44, 0.18);
    background: #fce9e2;
    color: #a64c2c;
}

.checkout-item-end > strong {
    font-size: 12px;
    white-space: nowrap;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 4px;
}

.checkout-total span {
    font-size: 14px;
    font-weight: 700;
}

.checkout-total strong {
    color: var(--green);
    font-family: var(--font-serif);
    font-size: 28px;
}

.checkout-courier-note {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 11px;
}

.checkout-pickup-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 11px;
    background: var(--sage);
    color: var(--green);
    padding: 13px;
}

.checkout-pickup-note > svg {
    width: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.checkout-pickup-note span {
    display: grid;
    gap: 3px;
}

.checkout-pickup-note small {
    color: var(--muted);
    font-size: 10px;
}

.checkout-pickup-note strong {
    font-size: 11px;
    line-height: 1.5;
}

.checkout-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    font-size: 15px;
}

.checkout-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.checkout-empty-page,
.checkout-success {
    display: grid;
    max-width: 620px;
    justify-items: center;
    margin: 40px auto 0;
    padding: 58px 38px;
    text-align: center;
}

.checkout-empty-page > span,
.checkout-success-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    margin-bottom: 19px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--green);
}

.checkout-empty-page svg,
.checkout-success-icon svg {
    width: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.checkout-empty-page h2,
.checkout-success h1 {
    font-size: 40px;
}

.checkout-empty-page p,
.checkout-success p {
    max-width: 460px;
    margin: 11px 0 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.checkout-email-status {
    margin-top: -8px;
    color: var(--green);
    font-weight: 700;
}

.checkout-payment-note {
    display: flex;
    width: min(100%, 520px);
    align-items: flex-start;
    gap: 12px;
    margin: -4px 0 22px;
    border: 1px solid rgba(191, 124, 61, 0.22);
    border-radius: 15px;
    background: rgba(252, 241, 212, 0.72);
    color: var(--ink);
    padding: 14px 16px;
    text-align: left;
}

.checkout-payment-note svg {
    width: 20px;
    flex: 0 0 auto;
    color: var(--orange);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-payment-note p {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.checkout-payment-total {
    display: grid;
    min-width: min(100%, 360px);
    gap: 4px;
    margin: 2px 0 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--cream);
    padding: 17px 20px;
}

.checkout-payment-total button {
    display: grid;
    justify-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.checkout-payment-total span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-payment-total strong {
    color: var(--green);
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1;
}

.checkout-payment-total small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(74, 48, 40, 0.08);
    color: var(--ink);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

.checkout-payment-total small svg {
    width: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-payment-total button:focus-visible {
    outline: 3px solid rgba(74, 48, 40, 0.2);
    outline-offset: 5px;
}

.checkout-qris-card {
    width: min(100%, 330px);
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    padding: 16px;
    box-shadow: 0 12px 34px rgba(74, 48, 40, 0.08);
}

.checkout-qris-card img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.checkout-qris-empty {
    width: min(100%, 390px);
    margin-bottom: 18px;
    border: 1px dashed rgba(74, 48, 40, 0.24);
    border-radius: 16px;
    background: rgba(252, 241, 212, 0.62);
    padding: 18px;
}

.checkout-qris-empty strong {
    display: block;
    color: var(--green);
    font-size: 16px;
}

.checkout-qris-empty p {
    margin: 6px 0 0;
}

.checkout-qris-download {
    min-height: 48px;
    margin-bottom: 12px;
    background: var(--cream);
    color: var(--green);
}

.checkout-qris-download svg,
.checkout-next-step svg,
.checkout-confirm-button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-next-step,
.checkout-confirm-button {
    min-height: 50px;
    background: var(--green);
    color: white;
}

.checkout-confirm-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.checkout-proof-upload {
    display: block;
    width: min(100%, 460px);
    margin: 0 0 16px;
    cursor: pointer;
}

.checkout-proof-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.checkout-proof-placeholder {
    display: grid;
    min-height: 166px;
    place-items: center;
    gap: 8px;
    border: 1px dashed rgba(74, 48, 40, 0.3);
    border-radius: 18px;
    background: rgba(252, 241, 212, 0.52);
    padding: 24px;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.checkout-proof-placeholder:hover {
    border-color: var(--green);
    background: var(--sage);
    transform: translateY(-1px);
}

.checkout-proof-placeholder svg {
    width: 34px;
    color: var(--green);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.checkout-proof-placeholder strong {
    color: var(--ink);
    font-size: 15px;
}

.checkout-proof-placeholder small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.checkout-proof-preview {
    display: grid;
    width: min(100%, 460px);
    gap: 10px;
    margin: 0 0 16px;
}

.checkout-proof-preview img {
    display: block;
    width: 100%;
    max-height: 360px;
    border: 1px solid var(--line);
    border-radius: 18px;
    object-fit: contain;
    background: white;
    padding: 10px;
    box-shadow: 0 12px 34px rgba(74, 48, 40, 0.08);
}

.checkout-proof-preview span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.checkout-proof-error,
.checkout-confirmation-result {
    width: min(100%, 460px);
    max-width: none;
    border-radius: 13px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
}

.checkout-proof-error {
    margin: 0 0 14px;
    background: #fce9e2;
    color: #a64c2c;
}

.checkout-confirmation-result {
    margin: 0 0 16px;
    background: var(--sage);
    color: var(--green);
}

.checkout-back-to-payment {
    margin-top: 17px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.checkout-menu-link {
    margin-top: 19px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.checkout-empty-page[hidden],
.checkout-success[hidden],
.checkout-grid[hidden],
.checkout-proof-preview[hidden],
.checkout-proof-error[hidden],
.checkout-confirmation-result[hidden],
[data-qris-payment][hidden],
[data-cash-payment][hidden],
[data-payment-icon-qris][hidden],
[data-payment-icon-cash][hidden] {
    display: none;
}

@media (max-width: 1024px) {
    .checkout-progress strong {
        display: none;
    }

    .checkout-grid {
        grid-template-columns: minmax(0, 1fr) 350px;
    }
}

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

    .checkout-summary {
        position: static;
    }

    .checkout-items {
        max-height: none;
    }
}

@media (max-width: 700px) {
    .checkout-nav {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .checkout-nav .brand-logo,
    .checkout-nav .brand-logo img {
        width: 132px;
    }

    .checkout-nav .brand-logo {
        height: 56px;
    }

    .checkout-progress {
        justify-self: end;
        gap: 5px;
    }

    .checkout-progress li {
        gap: 4px;
    }

    .checkout-progress li:not(:last-child)::after {
        width: 10px;
        margin-left: 0;
    }

    .checkout-progress li > span {
        width: 23px;
        height: 23px;
        font-size: 10px;
    }

    .checkout-main {
        padding: 32px 0 60px;
    }

    .checkout-heading {
        margin-bottom: 22px;
    }

    .checkout-content-back {
        margin-bottom: 20px;
        padding: 8px 13px;
        font-size: 13px;
    }

    .checkout-heading h1 {
        font-size: 42px;
    }

    .checkout-heading p {
        font-size: 14px;
    }

    .checkout-card,
    .checkout-summary {
        border-radius: 14px;
        padding: 19px;
    }

    .checkout-card-heading {
        margin-bottom: 17px;
    }

    .checkout-card-heading h2 {
        font-size: 24px;
    }

    .checkout-form-row,
    .checkout-fulfillment,
    .checkout-pickup-locations,
    .checkout-payment-method {
        grid-template-columns: 1fr;
    }

    .checkout-fulfillment span,
    .checkout-pickup-locations span,
    .checkout-payment-method span {
        min-height: 74px;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 10px;
    }

    .checkout-fulfillment span svg,
    .checkout-pickup-locations span svg,
    .checkout-payment-method span svg {
        grid-row: span 2;
        margin: 0;
    }

    .checkout-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .checkout-item img {
        width: 58px;
        height: 58px;
    }

    .checkout-item-end {
        height: 58px;
    }

    .checkout-empty-page,
    .checkout-success {
        margin-top: 20px;
        padding: 42px 22px;
    }

    .checkout-empty-page h2,
    .checkout-success h1 {
        font-size: 34px;
    }
}
