body.checkout-page {
    background: #fff;
    color: #171717;
    font-family: Arial, sans-serif;
}

.checkout-page .site-header {
    border-bottom: 1px solid #eee;
}

.checkout-page .desktop-nav a {
    font-size: 11px;
}

.checkout-page .trust-strip {
    height: 24px;
    padding: 7px;
    font-size: 9px;
    line-height: 1.2;
}

.checkout-wrap {
    padding: 22px 0 50px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    max-width: 1040px;
    margin: auto;
    align-items: start;
}

.checkout-main {
    min-width: 0;
}

.checkout-step {
    border: 1px solid #e5e5e5;
    border-radius: 9px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
}

.checkout-step h1,
.checkout-step h2 {
    font-size: 12px;
    font-weight: 800;
    margin: 0;
    padding: 13px 14px;
    letter-spacing: .1px;
}

.checkout-step h1 span,
.checkout-step h2 span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f2f3f5;
    color: #777;
    margin-right: 9px;
    font-size: 10px;
}

.checkout-step.is-open h1 span {
    background: #ff571f;
    color: #fff;
}

.checkout-step h1 i,
.checkout-step h2 i {
    float: right;
    color: #777;
}

.step-content {
    padding: 0 14px 14px;
}

.address-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 14px;
}

.saved-address,
.add-address {
    min-height: 98px;
    border: 1px dashed #e4e4e4;
    border-radius: 8px;
    padding: 10px;
    font-size: 9px;
    background: #fff;
}

.saved-address {
    border: 1px solid #ff572f;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.saved-address:hover,
.saved-address:focus-visible {
    border-color: #ff6c3a;
    box-shadow: 0 0 0 2px rgba(255,87,47,.12);
    outline: none;
}

.saved-address.is-selected {
    background: #fff7f4;
    border-color: #ff572f;
    box-shadow: 0 0 0 2px rgba(255,87,47,.16), 0 10px 18px rgba(255,87,47,.12);
}

.saved-address small {
    display: block;
    color: #ff572f;
    font-weight: 800;
    font-size: 7px;
    margin-bottom: 6px;
}

.saved-address small i {
    float: right;
}

.saved-address strong,
.saved-address b {
    display: block;
    font-size: 9px;
}

.saved-address p {
    margin: 4px 0;
    color: #666;
    line-height: 1.4;
}

.add-address {
    background: #fff;
    color: #ff572f;
    font-weight: 700;
}

.add-address i {
    display: block;
    font-size: 17px;
    margin: 20px auto 4px;
}

.address-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.address-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #333;
}

.address-form label input {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
}

.address-form label.wide {
    grid-column: 1 / -1;
}

.address-form .checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
    grid-column: 1 / -1;
}

.address-form .checkbox-row input {
    width: auto;
    min-height: auto;
}

.outline-action,
.primary-action,
.confirm-summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, opacity .12s ease;
}

.outline-action {
    background: #fff;
    border: 1px solid #ff572f;
    color: #ff572f;
}

.primary-action,
.confirm-summary {
    background: linear-gradient(135deg, #ff7b4d, #ff572f);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255,87,47,.18);
}

.outline-action:hover,
.primary-action:hover,
.confirm-summary:hover {
    transform: translateY(-1px);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.payment-methods label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.payment-methods input[type=radio] {
    accent-color: #ff572f;
}

.checkout-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.device-mini,
.summary-box,
.side-row,
.whatsapp-row {
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
}

.device-mini {
    display: flex;
    gap: 12px;
    padding: 14px;
    align-items: center;
}

.device-mini img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
}

.device-mini div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.device-mini strong {
    font-size: 12px;
    line-height: 1.4;
}

.device-mini small,
.device-mini b {
    font-size: 11px;
    color: #666;
}

.device-mini b {
    color: #ff572f;
    font-weight: 700;
}

.summary-box {
    padding: 14px;
}

.summary-box h2 {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: .12em;
    color: #111;
}

.summary-box dl {
    margin: 0;
    display: grid;
    gap: 10px;
}

.summary-box dl div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    color: #666;
}

.summary-box dt {
    font-weight: 600;
}

.summary-box dd {
    margin: 0;
    font-weight: 700;
    color: #1d1d1d;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #eee;
    font-size: 14px;
    font-weight: 800;
}

.summary-total strong {
    color: #111;
}

.coupon-box-wrap {
    border: 1px solid #f3d7d0;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffaf8 0%, #fff 100%);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 87, 47, 0.05);
}

.side-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    text-align: left;
}

.side-row i:last-child {
    color: #ff572f;
    font-size: 14px;
}

.coupon-form {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
    border-top: 1px solid #f7d9d2;
    background: rgba(255, 87, 47, 0.02);
}

.coupon-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #f0c5bb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #222;
    background: #fff;
    outline: none;
}

.coupon-form input:focus {
    border-color: #ff572f;
    box-shadow: 0 0 0 3px rgba(255, 87, 47, 0.1);
}

.coupon-form-actions {
    display: flex;
    gap: 8px;
}

.coupon-form-actions .outline-action {
    flex: 1;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 12px;
}

.remove-coupon {
    border: 1px solid #e7d7d2;
    background: #fff;
    color: #666;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}

#couponStatus {
    min-height: 18px;
    margin: 8px 0 0;
    font-size: 11px;
    color: #ff572f;
    line-height: 1.4;
}

.whatsapp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #111;
    font-size: 12px;
}

.whatsapp-row input {
    margin-left: auto;
}

.inspection-note {
    margin: 0;
    color: #6b6b6b;
    font-size: 11px;
    line-height: 1.5;
}

.inspection-note i {
    color: #ff572f;
    margin-right: 6px;
}

.date-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin: 0 0 18px;
}

.date-grid::-webkit-scrollbar {
    height: 6px;
}

.date-grid::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 10px;
}

.date-option {
    flex: 1 0 88px;
    min-width: 88px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.date-option input[type=radio] {
    display: none;
}

.date-option span {
    display: block;
    line-height: 1.4;
}

.date-option b {
    display: block;
    font-size: 14px;
    color: #111;
}

.date-option small {
    display: block;
    font-size: 12px;
    color: #666;
}

.date-option:has(input[type=radio]:checked) {
    border-color: #ff572f;
    box-shadow: 0 0 0 1px #ff572f;
    background: #fff6f3;
}

.date-option:has(input[type=radio]:checked) b,
.date-option:has(input[type=radio]:checked) small {
    color: #ff572f;
}

.slot-grid.time-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.time-slot-option {
    border: 1.5px solid #e0e6ed;
    border-radius: 9px;
    padding: 13px 8px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    user-select: none;
}

.time-slot-option input[type=radio] {
    display: none;
}

.time-slot-option span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.time-slot-option:hover:not(.disabled):not(:has(input:disabled)) {
    border-color: #0b9cba;
}

.time-slot-option:has(input[type=radio]:checked):not(.disabled):not(:has(input:disabled)),
.time-slot-option.selected {
    border-color: #ff572f;
    background: #fff5f2;
}

.time-slot-option:has(input[type=radio]:checked):not(.disabled):not(:has(input:disabled)) span,
.time-slot-option.selected span {
    color: #ff572f;
    font-weight: 700;
}

/* Disabled/Past time slot */
.time-slot-option.disabled,
.time-slot-option:has(input[type=radio]:disabled) {
    border-color: #e5e7eb !important;
    background: #f3f4f6 !important;
    cursor: not-allowed !important;
    opacity: 0.65;
}

.time-slot-option.disabled span,
.time-slot-option:has(input[type=radio]:disabled) span {
    color: #9ca3af !important;
    font-weight: 700 !important;
    cursor: not-allowed !important;
}

.time-slot-option.disabled:hover,
.time-slot-option:has(input[type=radio]:disabled):hover {
    border-color: #e5e7eb !important;
    background: #f3f4f6 !important;
}

@media (max-width: 760px) {
    .checkout-wrap {
        padding: 16px 12px 40px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 100%;
    }

    .checkout-main,
    .checkout-side {
        width: 100%;
    }

    .checkout-step {
        margin-bottom: 12px;
    }

    .checkout-step h1,
    .checkout-step h2 {
        padding: 12px 14px;
    }

    .step-content {
        padding: 0 12px 12px;
    }

    .address-choice {
        grid-template-columns: 1fr;
    }

    .address-form {
        grid-template-columns: 1fr;
    }

    .address-form label,
    .address-form .wide {
        grid-column: span 1;
    }

    .saved-address,
    .add-address {
        min-height: 92px;
    }

    .date-grid {
        gap: 8px;
    }

    .date-option {
        flex-basis: 80px;
        min-width: 80px;
    }

    .slot-grid.time-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (max-width: 480px) {
        .slot-grid.time-options {
            grid-template-columns: 1fr;
        }
    }

    .payment-methods {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .payment-methods label {
        padding: 12px 10px;
    }

    .checkout-side .device-mini {
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: center;
        gap: 12px;
    }

    .checkout-side .device-mini img {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }

    .summary-box dl div {
        grid-template-columns: 1fr auto;
    }

    .summary-box .summary-total {
        font-size: 15px;
    }

    .coupon-form-actions {
        flex-direction: column;
    }

    .confirm-summary,
    .primary-action,
    .outline-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-page .trust-strip {
        height: auto;
        line-height: 1.4;
        padding: 10px 12px;
        font-size: 8px;
        letter-spacing: .08em;
    }

    .checkout-step h1,
    .checkout-step h2 {
        font-size: 11px;
    }

    .saved-address small,
    .saved-address strong,
    .saved-address b,
    .saved-address p {
        font-size: 8px;
    }

    .checkout-side .device-mini {
        grid-template-columns: 1fr;
    }

    .checkout-side .device-mini img {
        margin: 0 auto;
    }
}