/* Checkout adjustments, 7 November 2026. */
#checkout_all form.addressform,
#checkout_all form.addressform label,
#checkout_all form.addressform input,
#checkout_all form.addressform select,
#checkout_all form.addressform textarea,
#checkout_all form.addressform .saveaddressbutton { font-size: 15px !important; }
#checkout_all .saveaddressbutton { font-size: 15px !important; }
#checkout_side_total {
    margin-top: 10px !important; padding: 10px !important; font-size: 18px !important;
    color: var(--main-color-light) !important; background-color: #7F8673 !important;
}
.cartOverlay #checkout_side_total .cartTotalShippingHint,
.cartOverlay #checkout_side_total .cartTotalShippingHint a { color: #fff; }
.cartOverlay #checkout_side_total .cartTotalShippingHint { clear: both; margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.ui-datepicker td:not(.ui-datepicker-unselectable):not(.ui-state-disabled) a.ui-state-default {
    background: #d3edb6 !important; color: #111 !important; border-color: #bccac7 !important;
}
.ui-datepicker td:not(.ui-datepicker-unselectable):not(.ui-state-disabled) a.ui-state-active,
.ui-datepicker td.ui-datepicker-current-day:not(.ui-datepicker-unselectable):not(.ui-state-disabled) a.ui-state-default {
    background: #849b6a !important; color: #fff !important; border-color: #849b6a !important;
}
#checkout_all > #cart_side,
#checkout_all #checkout_side_cart,
#checkout_all #checkout_side_sums { background-color: #e5eae6; }
#checkout_all #checkout_side_cart .side_cart_item:first-of-type { border-top: 0; }
#checkout_all #checkout_side_cart .checkoutCartHeading + .side_cart_item { border-top: 0; }
.classicCart #cartcontainer > #checkoutdiv { background-color: #e5eae6; }
.classicCart .cartContinueShopping { margin-top: 0; margin-bottom: 16px; }
.checkoutStatus .step .circle { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
.checkoutStatus .stepLine { margin-top: 16px; }
.orderConfirmation .pickupTopic:first-child { margin-bottom: 12px; }
@media (max-width: 767px) {
    .orderConfirmation .orderConfirmationSummary dt,
    .orderConfirmation .orderConfirmationSummary dd {
        float: none; width: 100%; text-align: center; font-size: 14px;
    }
    .checkoutStatus .step .circle { width: 26px; height: 26px; line-height: 26px; font-size: 12px; }
    .checkoutStatus .stepLine { margin-top: 13px; }
}
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    #checkout_all #review .reviewblock[data-block] > div,
    #checkout_all #review .reviewblock[data-block] .editBlock,
    #checkout_all #review form.addressform {
        box-sizing: border-box; width: 100%; max-width: 560px; margin-inline: auto;
    }
    #checkout_all #review form.addressform .formrow {
        box-sizing: border-box; float: none; width: 100%; margin-inline: auto;
    }
    #checkout_all #review form.addressform input:not([type="hidden"]),
    #checkout_all #review form.addressform select {
        box-sizing: border-box; width: 100%; max-width: 100%;
    }
}

/* Review step: neutral cart panel and dark red purchase button. */
#checkout_all:has(#review) > #cart_side,
#checkout_all:has(#review) #checkout_side_cart,
#checkout_all:has(#review) #checkout_side_sums,
#checkout_all:has(#review) #checkout_side_total {
    background-color: #f7f7f7 !important;
}
#checkout_all:has(#review) #checkout_side_total,
#checkout_all:has(#review) #checkout_side_total .small {
    color: #222 !important;
}
#checkout_all:has(#review) #checkout_continue_button.buynow {
    background: #7c1316 !important;
    border-color: #7c1316 !important;
    color: #fff !important;
}

/* Keep text and purchase controls clear of the review panel edges. */
#checkout_all:has(#review) > #cart_side {
    box-sizing: border-box;
    padding: 10px !important;
}
