.micopurea-checkout-compat-notice {
    clear: both;
    margin-top: 6px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.woocommerce form .form-row input.micopurea-checkout-invalid,
.woocommerce form .form-row select.micopurea-checkout-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 1px #b42318;
}

#place_order.micopurea-checkout-updating {
    cursor: wait;
    opacity: 0.72;
}

/*
 * Econt and Speedy rely on the externally hosted jQuery UI theme for these
 * structural styles. Keep the checkout usable when that stylesheet is
 * blocked, delayed or overridden by the theme.
 */
body.woocommerce-checkout .ui-autocomplete.ui-menu {
    position: absolute !important;
    z-index: 1000000 !important;
    max-width: calc(100vw - 24px);
    max-height: min(320px, 45vh);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    margin: 3px 0 0 !important;
    padding: 5px !important;
    list-style: none !important;
    background: #fff !important;
    border: 1px solid #d8d2c5 !important;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(35, 29, 18, 0.18);
    color: #24201a;
}

body.woocommerce-checkout .ui-autocomplete.ui-menu > .ui-menu-item {
    display: block;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: 0 !important;
}

body.woocommerce-checkout .ui-autocomplete.ui-menu > .ui-menu-item::before,
body.woocommerce-checkout .ui-autocomplete.ui-menu > .ui-menu-item::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-checkout .ui-autocomplete .ui-menu-item-wrapper {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 0 !important;
    border-radius: 4px;
    background: transparent;
    color: #24201a;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    cursor: pointer;
}

body.woocommerce-checkout .ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
body.woocommerce-checkout .ui-autocomplete .ui-menu-item-wrapper:hover {
    margin: 0 !important;
    background: #f1eadb !important;
    border: 0 !important;
    color: #1f1b15 !important;
}

@media (max-width: 600px) {
    body.woocommerce-checkout .ui-autocomplete.ui-menu {
        max-height: 42vh;
        border-radius: 5px;
    }

    body.woocommerce-checkout .ui-autocomplete .ui-menu-item-wrapper {
        padding: 11px 10px !important;
        font-size: 13px;
    }
}
