/* Master Swiss Checkout UX */

body.msux-checkout {
    --msux-green: #02ce05;
    --msux-green-dark: #009f03;
    --msux-red: #e30613;
    --msux-text: #2b2b2b;
    --msux-muted: #777777;
    --msux-border: #d9d9d9;
    --msux-soft: #f7f7f7;
    --msux-white: #ffffff;
}

body.msux-checkout .cfw-input-label,
body.msux-checkout .form-row label,
body.msux-checkout .woocommerce form .form-row label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    text-align: left !important;
    color: var(--msux-text) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

body.msux-checkout .form-row,
body.msux-checkout .woocommerce form .form-row,
body.msux-checkout .cfw-input-wrap {
    margin-bottom: 14px !important;
}

body.msux-checkout input.input-text,
body.msux-checkout textarea,
body.msux-checkout select,
body.msux-checkout .select2-container .select2-selection,
body.msux-checkout .cfw-input-wrap input,
body.msux-checkout .cfw-input-wrap select,
body.msux-checkout .cfw-input-wrap textarea {
    min-height: 48px !important;
    border: 1px solid var(--msux-border) !important;
    border-radius: 7px !important;
    background: var(--msux-white) !important;
    color: var(--msux-text) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

body.msux-checkout input.input-text:focus,
body.msux-checkout textarea:focus,
body.msux-checkout select:focus,
body.msux-checkout .select2-container .select2-selection:focus,
body.msux-checkout .cfw-input-wrap input:focus,
body.msux-checkout .cfw-input-wrap select:focus,
body.msux-checkout .cfw-input-wrap textarea:focus {
    border-color: var(--msux-green) !important;
    box-shadow: 0 0 0 2px rgba(2, 206, 5, 0.12) !important;
    outline: none !important;
}

body.msux-checkout #cfw-account-details .msux-contact-top {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

body.msux-checkout #cfw-account-details .msux-phone-field label,
body.msux-checkout #cfw-account-details .msux-nif-field label,
body.msux-checkout #billing_phone_field label {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

body.msux-checkout .msux-contact-duplicate {
    display: none !important;
}

body.msux-checkout .msux-postcode-help {
    display: none !important;
}

body.msux-checkout .msux-row-name-shipping,
body.msux-checkout .msux-row-name-billing,
body.msux-checkout .msux-row-postcode-shipping,
body.msux-checkout .msux-row-postcode-billing,
body.msux-checkout .msux-row-address1-shipping,
body.msux-checkout .msux-row-address1-billing,
body.msux-checkout .msux-row-address2-shipping,
body.msux-checkout .msux-row-address2-billing,
body.msux-checkout .msux-row-city-shipping,
body.msux-checkout .msux-row-city-billing,
body.msux-checkout .msux-row-company-shipping,
body.msux-checkout .msux-row-company-billing {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

@media (min-width: 992px) {
    body.msux-checkout #shipping_first_name_field,
    body.msux-checkout #shipping_last_name_field,
    body.msux-checkout #billing_first_name_field,
    body.msux-checkout #billing_last_name_field {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

    body.msux-checkout #shipping_postcode_field,
    body.msux-checkout #shipping_state_field,
    body.msux-checkout #shipping_country_field,
    body.msux-checkout #billing_postcode_field,
    body.msux-checkout #billing_state_field,
    body.msux-checkout #billing_country_field {
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
    }

    body.msux-checkout #shipping_address_1_field,
    body.msux-checkout #shipping_address_2_field,
    body.msux-checkout #shipping_city_field,
    body.msux-checkout #billing_address_1_field,
    body.msux-checkout #billing_address_2_field,
    body.msux-checkout #billing_city_field,
    body.msux-checkout #billing_company_field,
    body.msux-checkout #shipping_company_field {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

body.msux-checkout .payment_methods,
body.msux-checkout #payment ul.payment_methods,
body.msux-checkout .wc_payment_methods {
    border: 1px solid var(--msux-border) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: var(--msux-white) !important;
}

body.msux-checkout .payment_methods li,
body.msux-checkout #payment ul.payment_methods li,
body.msux-checkout .wc_payment_method,
body.msux-checkout [class*="payment_method_"] {
    position: relative;
}

body.msux-checkout .msux-selected-payment {
    background: #fbfffb !important;
    box-shadow: inset 4px 0 0 var(--msux-green) !important;
}

body.msux-checkout .payment_box,
body.msux-checkout .wc_payment_method .payment_box {
    background: #f5f5f5 !important;
    border-top: 1px solid #e6e6e6 !important;
    margin: 0 !important;
    padding: 18px !important;
}

body.msux-checkout .msux-contextual-place-order,
body.msux-checkout #place_order,
body.msux-checkout button[name="woocommerce_checkout_place_order"],
body.msux-checkout input[name="woocommerce_checkout_place_order"],
body.msux-checkout .cfw-place-order-button,
body.msux-checkout .msux-payment-action,
body.msux-checkout .msux-sticky-button {
    min-height: 54px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--msux-green) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(2, 206, 5, 0.22) !important;
    cursor: pointer !important;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

body.msux-checkout .msux-contextual-place-order:hover,
body.msux-checkout #place_order:hover,
body.msux-checkout button[name="woocommerce_checkout_place_order"]:hover,
body.msux-checkout input[name="woocommerce_checkout_place_order"]:hover,
body.msux-checkout .cfw-place-order-button:hover,
body.msux-checkout .msux-payment-action:hover,
body.msux-checkout .msux-sticky-button:hover {
    background: var(--msux-green-dark) !important;
    box-shadow: 0 8px 20px rgba(2, 206, 5, 0.28) !important;
}

body.msux-checkout .msux-payment-action {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 300px !important;
    margin: 18px 0 0 auto !important;
    padding: 0 28px !important;
}

body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
body.msux-checkout .payment_box .msux-payment-action-inside-box,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
    display: inline-flex !important;
}

body.msux-checkout .payment_method_title_wrap .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-title-wrap .msux-payment-action,
body.msux-checkout .wc_payment_method > .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-li > .msux-payment-action {
    display: none !important;
}

body.msux-checkout #place_order,
body.msux-checkout button[name="woocommerce_checkout_place_order"],
body.msux-checkout input[name="woocommerce_checkout_place_order"],
body.msux-checkout .cfw-place-order-button {
    width: 100% !important;
}

body.msux-checkout .msux-coupon-block {
    margin: 12px 0 20px !important;
}

body.msux-checkout .msux-coupon-block input[name="coupon_code"],
body.msux-checkout .msux-coupon-block #coupon_code {
    min-height: 48px !important;
}

body.msux-checkout .msux-coupon-block button,
body.msux-checkout .msux-coupon-block input[type="submit"] {
    min-height: 48px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
}

body.msux-checkout .msux-hide-bundle,
body.msux-checkout #cfw_bumps_above_express_checkout,
body.msux-checkout #cfw_bumps_above_payment_method,
body.msux-checkout #cfw_bumps_above_terms_and_conditions,
body.msux-checkout #cfw_bumps_below_cart_items,
body.msux-checkout #cfw_bumps_after_customer_info,
body.msux-checkout .cfw-order-bump,
body.msux-checkout .cfw-order-bumps,
body.msux-checkout [id^="cfw_bump_"],
body.msux-checkout [class*="order-bump"],
body.msux-checkout [class*="order_bump"] {
    display: none !important;
}

body.msux-checkout #mbway_ifthen_for_woocommerce_phone_field_container_country_code,
body.msux-checkout #mbway_ifthen_for_woocommerce_phone_field_container_country_code + .select2-container,
body.msux-checkout #mbway_ifthen_for_woocommerce_phone_field_container_country_code .select2-container {
    display: none !important;
}

body.msux-checkout #mbway_ifthen_for_woocommerce_phone_field_container {
    display: block !important;
}

body.msux-checkout #mbway_ifthen_for_woocommerce_phone_field_container #mbway_ifthen_for_woocommerce_phone {
    width: 100% !important;
    margin-left: 0 !important;
}

body.msux-checkout .msux-sticky-payment-cta {
    display: none;
}

body.msux-checkout .msux-sticky-payment-cta.is-hidden {
    display: none !important;
}

@media (min-width: 992px) {
    body.msux-checkout .cfw-main-container,
    body.msux-checkout .cfw-panel {
        scroll-margin-top: 24px;
    }
}

@media (max-width: 991px) {
    body.msux-checkout {
        padding-bottom: 104px !important;
    }

    body.msux-checkout .form-row-first,
    body.msux-checkout .form-row-last,
    body.msux-checkout .woocommerce form .form-row-first,
    body.msux-checkout .woocommerce form .form-row-last,
    body.msux-checkout #shipping_first_name_field,
    body.msux-checkout #shipping_last_name_field,
    body.msux-checkout #shipping_postcode_field,
    body.msux-checkout #shipping_state_field,
    body.msux-checkout #shipping_country_field,
    body.msux-checkout #billing_first_name_field,
    body.msux-checkout #billing_last_name_field,
    body.msux-checkout #billing_postcode_field,
    body.msux-checkout #billing_state_field,
    body.msux-checkout #billing_country_field {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        clear: both !important;
    }

    body.msux-checkout input.input-text,
    body.msux-checkout textarea,
    body.msux-checkout select,
    body.msux-checkout .select2-container .select2-selection,
    body.msux-checkout .cfw-input-wrap input,
    body.msux-checkout .cfw-input-wrap select,
    body.msux-checkout .cfw-input-wrap textarea {
        min-height: 52px !important;
        font-size: 16px !important;
    }

    body.msux-checkout .payment_box,
    body.msux-checkout .wc_payment_method .payment_box {
        padding: 14px !important;
    }

    body.msux-checkout .payment_box .msux-payment-action,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
    body.msux-checkout .payment_box .msux-payment-action-inside-box,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 16px 0 0 !important;
        padding: 0 16px !important;
        white-space: normal !important;
    }

    body.msux-checkout .msux-sticky-payment-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.11);
    }

    body.msux-checkout .msux-sticky-total {
        min-width: 92px;
        color: var(--msux-text);
        font-size: 12px;
        line-height: 1.15;
    }

    body.msux-checkout .msux-sticky-total strong {
        display: block;
        margin-top: 2px;
        font-size: 17px;
        line-height: 1.15;
    }

    body.msux-checkout .msux-sticky-button {
        flex: 1;
        min-height: 54px !important;
        padding: 0 16px !important;
        white-space: normal !important;
    }

    body.msux-checkout footer,
    body.msux-checkout .cfw-footer {
        margin-bottom: 90px !important;
    }
}

@media (max-width: 480px) {
    body.msux-checkout .msux-sticky-payment-cta {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.msux-checkout .msux-sticky-total {
        min-width: 82px;
    }

    body.msux-checkout .msux-sticky-button {
        font-size: 14px !important;
    }
}

/* v0.2.1 - safety fixes for CheckoutWC preload / Portugal checkout */
body.msux-checkout #shipping_phone_field.msux-contact-duplicate,
body.msux-checkout #billing_phone_field.msux-contact-duplicate,
body.msux-checkout #shipping_phone_formatted_field,
body.msux-checkout #billing_phone_formatted_field {
    display: none !important;
}

body.msux-checkout.cfw-preload form#checkout,
body.msux-checkout.cfw-preload #cfw,
body.msux-checkout.cfw-preload #cfw-customer-info,
body.msux-checkout.cfw-preload #cfw-shipping-method,
body.msux-checkout.cfw-preload #cfw-payment-method,
body.msux-checkout.cfw-preload #cfw-payment-action,
body.msux-checkout.cfw-preload .cfw-panel,
body.msux-checkout.msux-preload-released form#checkout,
body.msux-checkout.msux-preload-released #cfw-customer-info,
body.msux-checkout.msux-preload-released #cfw-shipping-method,
body.msux-checkout.msux-preload-released #cfw-payment-method,
body.msux-checkout.msux-preload-released #cfw-payment-action,
body.msux-checkout.msux-preload-released .cfw-panel {
    opacity: 1 !important;
    visibility: visible !important;
}

body.msux-checkout #shipping_country_field .select2-selection__rendered,
body.msux-checkout #billing_country_field .select2-selection__rendered {
    color: var(--msux-text) !important;
}


/* v0.2.3 - botão sempre no fim da caixa aberta do método de pagamento */
body.msux-checkout .payment_method_title_wrap > .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-title-wrap > .msux-payment-action,
body.msux-checkout .wc_payment_method > .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-li > .msux-payment-action {
    display: none !important;
}

body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action {
    display: inline-flex !important;
    position: static !important;
    clear: both !important;
}

@media (max-width: 991px) {
    body.msux-checkout .payment_box .msux-payment-action,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}


/* v0.2.4 - edição livre do código postal e CTA mobile restaurado */
body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action {
    display: inline-flex !important;
    margin: 18px 0 0 auto !important;
    float: none !important;
}

body.msux-checkout .payment_method_title_wrap .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-title-wrap .msux-payment-action,
body.msux-checkout .wc_payment_method > .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-li > .msux-payment-action {
    display: none !important;
}

@media (max-width: 991px) {
    body.msux-checkout .msux-sticky-payment-cta:not(.is-hidden) {
        display: flex !important;
    }

    body.msux-checkout .payment_box .msux-payment-action,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

/* v0.2.5 - distrito automático, setas alinhadas, CTA à direita e aviso de portes grátis */
body.msux-checkout #shipping_state_field,
body.msux-checkout #shipping_country_field,
body.msux-checkout #billing_state_field,
body.msux-checkout #billing_country_field {
    position: relative !important;
}

body.msux-checkout #shipping_state_field select,
body.msux-checkout #shipping_country_field select,
body.msux-checkout #billing_state_field select,
body.msux-checkout #billing_country_field select {
    line-height: 48px !important;
    padding-right: 38px !important;
    background-position: right 14px center !important;
}

body.msux-checkout #shipping_state_field .select2-container,
body.msux-checkout #shipping_country_field .select2-container,
body.msux-checkout #billing_state_field .select2-container,
body.msux-checkout #billing_country_field .select2-container {
    width: 100% !important;
}

body.msux-checkout #shipping_state_field .select2-selection--single,
body.msux-checkout #shipping_country_field .select2-selection--single,
body.msux-checkout #billing_state_field .select2-selection--single,
body.msux-checkout #billing_country_field .select2-selection--single,
body.msux-checkout #shipping_state_field .selectWoo-selection--single,
body.msux-checkout #shipping_country_field .selectWoo-selection--single,
body.msux-checkout #billing_state_field .selectWoo-selection--single,
body.msux-checkout #billing_country_field .selectWoo-selection--single {
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
}

body.msux-checkout #shipping_state_field .select2-selection__rendered,
body.msux-checkout #shipping_country_field .select2-selection__rendered,
body.msux-checkout #billing_state_field .select2-selection__rendered,
body.msux-checkout #billing_country_field .select2-selection__rendered,
body.msux-checkout #shipping_state_field .selectWoo-selection__rendered,
body.msux-checkout #shipping_country_field .selectWoo-selection__rendered,
body.msux-checkout #billing_state_field .selectWoo-selection__rendered,
body.msux-checkout #billing_country_field .selectWoo-selection__rendered {
    line-height: 48px !important;
    padding-left: 12px !important;
    padding-right: 38px !important;
}

body.msux-checkout #shipping_state_field .select2-selection__arrow,
body.msux-checkout #shipping_country_field .select2-selection__arrow,
body.msux-checkout #billing_state_field .select2-selection__arrow,
body.msux-checkout #billing_country_field .select2-selection__arrow,
body.msux-checkout #shipping_state_field .selectWoo-selection__arrow,
body.msux-checkout #shipping_country_field .selectWoo-selection__arrow,
body.msux-checkout #billing_state_field .selectWoo-selection__arrow,
body.msux-checkout #billing_country_field .selectWoo-selection__arrow {
    top: 50% !important;
    right: 12px !important;
    height: 20px !important;
    transform: translateY(-50%) !important;
}

body.msux-checkout #shipping_state_field .select2-selection__arrow b,
body.msux-checkout #shipping_country_field .select2-selection__arrow b,
body.msux-checkout #billing_state_field .select2-selection__arrow b,
body.msux-checkout #billing_country_field .select2-selection__arrow b,
body.msux-checkout #shipping_state_field .selectWoo-selection__arrow b,
body.msux-checkout #shipping_country_field .selectWoo-selection__arrow b,
body.msux-checkout #billing_state_field .selectWoo-selection__arrow b,
body.msux-checkout #billing_country_field .selectWoo-selection__arrow b {
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

body.msux-checkout .msux-payment-action-row {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 18px !important;
    clear: both !important;
}

body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
body.msux-checkout .payment_box .msux-payment-action-inside-box,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
    display: flex !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 300px !important;
    margin: 0 0 0 auto !important;
    padding: 0 28px !important;
    white-space: normal !important;
}

body.msux-checkout .msux-free-shipping-progress {
    margin: 14px 0 18px !important;
    padding: 12px 14px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--msux-text) !important;
}

body.msux-checkout .msux-free-shipping-progress.is-hidden {
    display: none !important;
}

body.msux-checkout .msux-free-shipping-text {
    margin-bottom: 8px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

body.msux-checkout .msux-free-shipping-text strong {
    font-weight: 700 !important;
}

body.msux-checkout .msux-free-shipping-bar {
    width: 100% !important;
    height: 8px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #eeeeee !important;
}

body.msux-checkout .msux-free-shipping-bar span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--msux-green) !important;
    transition: width 0.2s ease !important;
}

@media (max-width: 991px) {
    body.msux-checkout .payment_box .msux-payment-action,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
    body.msux-checkout .payment_box .msux-payment-action-inside-box,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
        width: auto !important;
        min-width: 200px !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 420px) {
    body.msux-checkout .payment_box .msux-payment-action,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
    body.msux-checkout .payment_box .msux-payment-action-inside-box,
    body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
        min-width: 190px !important;
        font-size: 14px !important;
    }
}


/* v0.2.6 - ajuste fino: selects sem deformar, seta centrada e aviso de portes no resumo */
body.msux-checkout #shipping_state_field select,
body.msux-checkout #shipping_country_field select,
body.msux-checkout #billing_state_field select,
body.msux-checkout #billing_country_field select {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 12px !important;
    padding-right: 38px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    background-position: right 14px center !important;
}

body.msux-checkout #shipping_state_field .select2-selection--single,
body.msux-checkout #shipping_country_field .select2-selection--single,
body.msux-checkout #billing_state_field .select2-selection--single,
body.msux-checkout #billing_country_field .select2-selection--single,
body.msux-checkout #shipping_state_field .selectWoo-selection--single,
body.msux-checkout #shipping_country_field .selectWoo-selection--single,
body.msux-checkout #billing_state_field .selectWoo-selection--single,
body.msux-checkout #billing_country_field .selectWoo-selection--single {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
}

body.msux-checkout #shipping_state_field .select2-selection__rendered,
body.msux-checkout #shipping_country_field .select2-selection__rendered,
body.msux-checkout #billing_state_field .select2-selection__rendered,
body.msux-checkout #billing_country_field .select2-selection__rendered,
body.msux-checkout #shipping_state_field .selectWoo-selection__rendered,
body.msux-checkout #shipping_country_field .selectWoo-selection__rendered,
body.msux-checkout #billing_state_field .selectWoo-selection__rendered,
body.msux-checkout #billing_country_field .selectWoo-selection__rendered {
    height: 46px !important;
    line-height: 46px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: block !important;
}

body.msux-checkout #shipping_state_field .select2-selection__arrow,
body.msux-checkout #shipping_country_field .select2-selection__arrow,
body.msux-checkout #billing_state_field .select2-selection__arrow,
body.msux-checkout #billing_country_field .select2-selection__arrow,
body.msux-checkout #shipping_state_field .selectWoo-selection__arrow,
body.msux-checkout #shipping_country_field .selectWoo-selection__arrow,
body.msux-checkout #billing_state_field .selectWoo-selection__arrow,
body.msux-checkout #billing_country_field .selectWoo-selection__arrow {
    top: 0 !important;
    bottom: 0 !important;
    height: 48px !important;
    right: 10px !important;
    transform: none !important;
}

body.msux-checkout #shipping_state_field .select2-selection__arrow b,
body.msux-checkout #shipping_country_field .select2-selection__arrow b,
body.msux-checkout #billing_state_field .select2-selection__arrow b,
body.msux-checkout #billing_country_field .select2-selection__arrow b,
body.msux-checkout #shipping_state_field .selectWoo-selection__arrow b,
body.msux-checkout #shipping_country_field .selectWoo-selection__arrow b,
body.msux-checkout #billing_state_field .selectWoo-selection__arrow b,
body.msux-checkout #billing_country_field .selectWoo-selection__arrow b {
    top: 50% !important;
    margin-top: -2px !important;
    transform: none !important;
}

body.msux-checkout .msux-free-shipping-progress {
    margin: 10px 0 12px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    clear: both !important;
}

body.msux-checkout .msux-free-shipping-text {
    margin-bottom: 7px !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

body.msux-checkout .msux-free-shipping-bar {
    height: 7px !important;
    background: #eeeeee !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}

body.msux-checkout .msux-free-shipping-bar span {
    display: block !important;
    height: 100% !important;
    width: 0;
    background: var(--msux-green) !important;
    border-radius: 999px !important;
    transition: width 0.2s ease !important;
}

body.msux-checkout .msux-free-shipping-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 10px !important;
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: var(--msux-green) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(2, 206, 5, 0.18) !important;
}

body.msux-checkout .msux-free-shipping-cta.is-hidden {
    display: none !important;
}

body.msux-checkout .msux-checkout-benefits {
    margin: 18px 0 0 !important;
    padding-top: 16px !important;
    border-top: 1px solid #eeeeee !important;
    clear: both !important;
}

body.msux-checkout .msux-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 14px !important;
}

body.msux-checkout .msux-benefit-item {
    text-align: center !important;
    color: var(--msux-text) !important;
}

body.msux-checkout .msux-benefit-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 42px !important;
    margin-bottom: 8px !important;
    color: var(--msux-red) !important;
}

body.msux-checkout .msux-benefit-icon svg {
    width: 46px !important;
    height: 46px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

body.msux-checkout .msux-benefit-item strong {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body.msux-checkout .msux-benefit-item span {
    display: block !important;
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    color: var(--msux-muted) !important;
}

body.msux-checkout .msux-support-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 18px !important;
    padding: 12px 10px !important;
    background: #f3f3f3 !important;
    color: var(--msux-text) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

body.msux-checkout .msux-support-icon {
    color: var(--msux-red) !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

body.msux-checkout .msux-support-box strong,
body.msux-checkout .msux-support-box span:not(.msux-support-icon) {
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    body.msux-checkout .msux-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
    }

    body.msux-checkout .msux-benefit-icon svg {
        width: 40px !important;
        height: 40px !important;
    }

    body.msux-checkout .msux-support-box {
        flex-wrap: wrap !important;
    }
}


/* v0.2.8 - link simples de adicionar produtos e proteção contra loop visual */
body.msux-checkout .msux-free-shipping-cta {
    display: none !important;
}

body.msux-checkout .msux-free-shipping-link {
    display: inline !important;
    margin-left: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--msux-green) !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

body.msux-checkout .msux-free-shipping-link:hover {
    color: #009900 !important;
}


/* v0.2.9 - resumo do pedido: aviso de portes sempre abaixo do envio e benefícios com ícones inline */
body.msux-checkout #cfw-cart-summary-totals #msux-free-shipping-progress,
body.msux-checkout .cfw-cart-summary-totals #msux-free-shipping-progress,
body.msux-checkout #msux-free-shipping-progress.msux-free-shipping-progress {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin: 10px 0 12px !important;
    padding: 8px 0 10px !important;
    border: 0 !important;
    background: transparent !important;
    float: none !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    text-align: left !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar {
    width: 100% !important;
    max-width: 100% !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-link {
    color: var(--msux-green) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    white-space: nowrap !important;
}

body.msux-checkout #cfw-cart-summary-totals #msux-checkout-benefits,
body.msux-checkout .cfw-cart-summary-totals #msux-checkout-benefits,
body.msux-checkout #msux-checkout-benefits.msux-checkout-benefits {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin: 22px 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 0 !important;
    background: transparent !important;
    float: none !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 18px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    color: var(--msux-text) !important;
    min-width: 0 !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 auto 8px !important;
    color: var(--msux-red) !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-icon svg,
body.msux-checkout #msux-checkout-benefits .msux-support-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-item strong {
    display: block !important;
    max-width: 150px !important;
    margin: 0 auto !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: var(--msux-text) !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-item span:not(.msux-benefit-icon) {
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    color: var(--msux-muted) !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    background: #f3f3f3 !important;
    color: var(--msux-text) !important;
    text-align: center !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-icon {
    display: flex !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    color: var(--msux-red) !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box strong,
body.msux-checkout #msux-checkout-benefits .msux-support-box span:not(.msux-support-icon) {
    display: inline !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: var(--msux-text) !important;
}

@media (max-width: 480px) {
    body.msux-checkout #msux-checkout-benefits .msux-benefits-grid {
        gap: 18px 12px !important;
    }

    body.msux-checkout #msux-checkout-benefits .msux-benefit-icon {
        width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
    }

    body.msux-checkout #msux-checkout-benefits .msux-benefit-item strong {
        font-size: 13px !important;
    }
}


/* v0.3.0 - resumo lateral: largura total, espaçamentos compactos e suporte clicável */
body.msux-checkout #cfw-cart-summary-totals,
body.msux-checkout .cfw-cart-summary-totals,
body.msux-checkout .cfw-totals-list,
body.msux-checkout .order-review-totals,
body.msux-checkout .woocommerce-checkout-review-order,
body.msux-checkout .woocommerce-checkout-review-order-table {
    box-sizing: border-box !important;
}

body.msux-checkout #msux-free-shipping-progress.msux-free-shipping-progress {
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    margin: 2px 0 8px !important;
    padding: 2px 0 4px !important;
    clear: both !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text strong,
body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-link {
    white-space: nowrap !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-link {
    margin-left: 2px !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 6px !important;
    margin: 0 !important;
}

body.msux-checkout #msux-checkout-benefits.msux-checkout-benefits {
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    margin: 18px 0 0 !important;
    padding: 16px 0 0 !important;
    clear: both !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefits-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 20px !important;
    box-sizing: border-box !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-item {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefit-item strong {
    max-width: 185px !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box {
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box:hover,
body.msux-checkout #msux-checkout-benefits .msux-support-box:focus {
    text-decoration: none !important;
    background: #eeeeee !important;
}

@media (max-width: 480px) {
    body.msux-checkout #msux-free-shipping-progress.msux-free-shipping-progress {
        margin: 2px 0 8px !important;
        padding: 2px 0 4px !important;
    }

    body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
        font-size: 12.5px !important;
        gap: 3px !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-checkout-benefits {
        margin-top: 16px !important;
        padding-top: 14px !important;
    }

    body.msux-checkout #msux-checkout-benefits .msux-benefits-grid {
        gap: 20px 14px !important;
    }
}


/* v0.3.1 - largura total no resumo lateral */
body.msux-checkout #cfw-cart-summary #msux-free-shipping-progress,
body.msux-checkout .cfw-cart-summary #msux-free-shipping-progress,
body.msux-checkout #cfw-cart-summary #msux-checkout-benefits,
body.msux-checkout .cfw-cart-summary #msux-checkout-benefits,
body.msux-checkout .woocommerce-checkout-review-order #msux-free-shipping-progress,
body.msux-checkout .woocommerce-checkout-review-order #msux-checkout-benefits,
body.msux-checkout #msux-free-shipping-progress,
body.msux-checkout #msux-checkout-benefits {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    flex: 0 0 100% !important;
    align-self: stretch !important;
    grid-column: 1 / -1 !important;
    float: none !important;
}

body.msux-checkout #msux-free-shipping-progress {
    margin: 6px 0 8px !important;
    padding: 4px 0 6px !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
    display: block !important;
    width: 100% !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    white-space: normal !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-link {
    display: inline !important;
    white-space: nowrap !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar {
    width: 100% !important;
    max-width: none !important;
}

body.msux-checkout #msux-checkout-benefits {
    margin: 16px 0 0 !important;
    padding: 16px 0 0 !important;
}

body.msux-checkout #msux-checkout-benefits .msux-benefits-grid,
body.msux-checkout #msux-checkout-benefits .msux-support-box {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box {
    display: grid !important;
    grid-template-columns: 42px 1fr 1fr !important;
    align-items: center !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    body.msux-checkout #msux-checkout-benefits .msux-support-box {
        grid-template-columns: 34px 1fr 1fr !important;
    }
}


/* v0.3.2: aviso de portes grátis preso entre Envio e Total */
body.msux-checkout #msux-free-shipping-progress.msux-free-shipping-progress {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
    margin: 8px 0 8px !important;
    padding: 0 !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* v0.3.3: linha de portes grátis com largura real dentro dos totais */
body.msux-checkout #msux-free-shipping-progress-row,
body.msux-checkout tr#msux-free-shipping-progress-row,
body.msux-checkout .cart_totals tr#msux-free-shipping-progress-row,
body.msux-checkout .woocommerce-checkout-review-order-table tr#msux-free-shipping-progress-row {
    display: table-row !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.msux-checkout #msux-free-shipping-progress-row > td,
body.msux-checkout tr#msux-free-shipping-progress-row > td,
body.msux-checkout .cart_totals tr#msux-free-shipping-progress-row > td,
body.msux-checkout .woocommerce-checkout-review-order-table tr#msux-free-shipping-progress-row > td {
    display: table-cell !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    padding: 4px 0 6px !important;
    border: 0 !important;
}

body.msux-checkout #msux-free-shipping-progress-row #msux-free-shipping-progress,
body.msux-checkout #msux-free-shipping-progress.msux-free-shipping-progress {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 0 4px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-link {
    display: inline !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-bar span {
    display: block !important;
    height: 100% !important;
}

body.msux-checkout #msux-free-shipping-progress-row + .order-total,
body.msux-checkout #msux-free-shipping-progress-row + tr.order-total,
body.msux-checkout #msux-free-shipping-progress-row + [class*="total"] {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    body.msux-checkout #msux-free-shipping-progress-row > td,
    body.msux-checkout tr#msux-free-shipping-progress-row > td {
        padding: 3px 0 5px !important;
    }

    body.msux-checkout #msux-free-shipping-progress .msux-free-shipping-text {
        font-size: 12.5px !important;
        line-height: 1.18 !important;
        margin-bottom: 3px !important;
    }
}

/* v0.3.4 - suporte centralizado e fluxo mobile do checkout */
body.msux-checkout #msux-checkout-benefits .msux-support-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    grid-template-columns: none !important;
    text-decoration: none !important;
    text-align: center !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box strong,
body.msux-checkout #msux-checkout-benefits .msux-support-box span:not(.msux-support-icon) {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    white-space: normal !important;
}

@media (max-width: 767px) {
    body.msux-checkout.msux-mobile-checkout-flow #cfw-mobile-cart-header {
        display: none !important;
    }

    body.msux-checkout.msux-mobile-checkout-flow #cfw-cart-summary {
        display: none !important;
    }

    body.msux-checkout #cfw-mobile-cart-summary.msux-mobile-cart-flow {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 28px 0 30px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.msux-checkout #cfw-mobile-cart-summary.msux-mobile-cart-flow h3 {
        margin: 0 0 16px !important;
        font-size: 25px !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
        color: var(--msux-text) !important;
    }

    body.msux-checkout #cfw-mobile-cart-summary.msux-mobile-cart-flow #cfw-mobile-cart-table,
    body.msux-checkout #cfw-mobile-cart-summary.msux-mobile-cart-flow #cfw-mobile-cart-coupons,
    body.msux-checkout #cfw-mobile-cart-summary.msux-mobile-cart-flow #cfw-mobile-cart-summary-totals {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 22px 0 22px !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid #eeeeee !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow .msux-benefits-grid {
        display: grid !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 14px !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow .msux-support-box {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 18px 0 0 !important;
        padding: 12px 10px !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow .msux-support-box strong,
    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow .msux-support-box span:not(.msux-support-icon) {
        flex: 0 0 auto !important;
        white-space: normal !important;
        font-size: 13px !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow .msux-support-icon {
        flex: 0 0 26px !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
    }
}


/* v0.3.5 - ajustes finos mobile, NIF e suporte */
body.msux-checkout #vat_number_field .description,
body.msux-checkout #vat_number-description,
body.msux-checkout #billing_vat_number_field .description,
body.msux-checkout #billing_vat_number-description,
body.msux-checkout #billing_eu_vat_number_field .description,
body.msux-checkout #billing_eu_vat_number-description,
body.msux-checkout #billing_nif_field .description,
body.msux-checkout [id*="nif"][id$="_field"] .description,
body.msux-checkout [id*="vat"][id$="_field"] .description {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: var(--msux-text) !important;
    margin-top: 2px !important;
}

body.msux-checkout .msux-create-account-hidden {
    display: none !important;
}

@media (max-width: 767px) {
    body.msux-checkout #createaccount,
    body.msux-checkout input[name="createaccount"],
    body.msux-checkout #createaccount + label,
    body.msux-checkout input[name="createaccount"] + label,
    body.msux-checkout .msux-create-account-hidden,
    body.msux-checkout #cfw-account-details .cfw-check-input:has(#createaccount) {
        display: none !important;
    }

    body.msux-checkout #vat_number_field .description,
    body.msux-checkout #vat_number-description,
    body.msux-checkout [id*="nif"][id$="_field"] .description,
    body.msux-checkout [id*="vat"][id$="_field"] .description {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    body.msux-checkout #msux-checkout-benefits.msux-benefits-mobile-flow {
        margin: 24px 0 18px !important;
        padding: 20px 0 0 !important;
    }
}

body.msux-checkout #msux-checkout-benefits .msux-support-box {
    justify-content: center !important;
    gap: 8px !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-box strong,
body.msux-checkout #msux-checkout-benefits .msux-support-box span:not(.msux-support-icon) {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

body.msux-checkout #msux-checkout-benefits .msux-support-icon {
    margin-right: 4px !important;
}


/* v0.3.7 - benefícios dentro do footer mobile para evitar espaço infinito antes do copyright */
@media (max-width: 767px) {
    body.msux-checkout #cfw-footer {
        margin-top: 24px !important;
        margin-bottom: 90px !important;
    }

    body.msux-checkout #cfw-footer .cfw-footer-inner {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.msux-checkout #cfw-footer #msux-checkout-benefits.msux-benefits-mobile-flow {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 24px !important;
        padding: 20px 0 0 !important;
        border-top: 1px solid #eeeeee !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    body.msux-checkout #cfw-footer #msux-checkout-benefits.msux-benefits-mobile-flow + p {
        margin-top: 0 !important;
    }
}

/* v0.3.8 - centralização fina da seta dos comboboxes nativos */
body.msux-checkout #shipping_state_field.cfw-select-input::after,
body.msux-checkout #shipping_country_field.cfw-select-input::after,
body.msux-checkout #billing_state_field.cfw-select-input::after,
body.msux-checkout #billing_country_field.cfw-select-input::after,
body.msux-checkout #shipping_state_field.cfw-state-input::after,
body.msux-checkout #shipping_country_field.cfw-country-input::after,
body.msux-checkout #billing_state_field.cfw-state-input::after,
body.msux-checkout #billing_country_field.cfw-country-input::after {
    content: none !important;
    display: none !important;
}

body.msux-checkout #shipping_state_field .woocommerce-input-wrapper,
body.msux-checkout #shipping_country_field .woocommerce-input-wrapper,
body.msux-checkout #billing_state_field .woocommerce-input-wrapper,
body.msux-checkout #billing_country_field .woocommerce-input-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

body.msux-checkout #shipping_state_field .woocommerce-input-wrapper::after,
body.msux-checkout #shipping_country_field .woocommerce-input-wrapper::after,
body.msux-checkout #billing_state_field .woocommerce-input-wrapper::after,
body.msux-checkout #billing_country_field .woocommerce-input-wrapper::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    width: 8px !important;
    height: 8px !important;
    border: solid #111111 !important;
    border-width: 0 1.6px 1.6px 0 !important;
    transform: translateY(-62%) rotate(45deg) !important;
    pointer-events: none !important;
    z-index: 3 !important;
    display: block !important;
    box-sizing: border-box !important;
}

body.msux-checkout #shipping_state_field select,
body.msux-checkout #shipping_country_field select,
body.msux-checkout #billing_state_field select,
body.msux-checkout #billing_country_field select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    background-position: initial !important;
    padding-right: 42px !important;
}

body.msux-checkout #shipping_state_field select::-ms-expand,
body.msux-checkout #shipping_country_field select::-ms-expand,
body.msux-checkout #billing_state_field select::-ms-expand,
body.msux-checkout #billing_country_field select::-ms-expand {
    display: none !important;
}

/* v0.4.4 - Stripe/card fields kept untouched. Only the payment title is translated via JS. */


/* v0.4.6 - informações visíveis abaixo do endereço, com NIF recolhido no lugar correto */
body.msux-checkout #cfw-customer-info > h3.msux-hide-customer-info-title,
body.msux-checkout #cfw-customer-info .cfw-module-title.msux-hide-customer-info-title {
    display: block !important;
}

body.msux-checkout #msux-contact-info-section {
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    margin-top: 18px !important;
    margin-bottom: 22px !important;
}

body.msux-checkout #msux-contact-info-section .msux-contact-info-title {
    display: block !important;
    margin: 0 0 14px !important;
}

body.msux-checkout .msux-row-contact-info,
body.msux-checkout .msux-row-nif-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    width: 100% !important;
}

body.msux-checkout .msux-row-contact-shipping,
body.msux-checkout .msux-row-contact-billing,
body.msux-checkout .msux-row-contact-info,
body.msux-checkout .msux-row-nif-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

@media (min-width: 992px) {
    body.msux-checkout #billing_phone_field.msux-contact-bottom,
    body.msux-checkout #shipping_phone_field.msux-contact-bottom,
    body.msux-checkout #billing_email_field.msux-contact-bottom,
    body.msux-checkout #msux-contact-info-section .msux-contact-bottom {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

@media (max-width: 991px) {
    body.msux-checkout #billing_phone_field.msux-contact-bottom,
    body.msux-checkout #shipping_phone_field.msux-contact-bottom,
    body.msux-checkout #billing_email_field.msux-contact-bottom,
    body.msux-checkout #msux-contact-info-section .msux-contact-bottom {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

body.msux-checkout .msux-collapsible-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--msux-body-link-color, var(--cfw-body-link-color, #0073aa)) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

body.msux-checkout .msux-collapsible-toggle:hover {
    text-decoration: none !important;
}

body.msux-checkout .msux-collapsible-toggle > span {
    display: inline-flex !important;
    width: 17px !important;
    height: 17px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1px solid currentColor !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

body.msux-checkout .msux-collapsible-toggle-open > span {
    transform: rotate(45deg) !important;
}

body.msux-checkout .msux-collapsible-field:not(.msux-collapsible-open) {
    display: none !important;
}

body.msux-checkout .msux-collapsible-field.msux-collapsible-open {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.msux-checkout .woocommerce-privacy-policy-text,
body.msux-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text,
body.msux-checkout .cfw-privacy-policy-text,
body.msux-checkout [class*="privacy-policy-text"] {
    display: none !important;
}

body.msux-checkout .woocommerce-SavedPaymentMethods-saveNew {
    display: none !important;
}

/* v0.4.6 - NIF dentro de Informações */
body.msux-checkout #msux-contact-info-section .msux-row-nif-info .msux-nif-field,
body.msux-checkout #msux-contact-info-section .msux-row-nif-info .msux-collapsible-toggle {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.msux-checkout #msux-contact-info-section .msux-collapsible-toggle {
    margin-top: 0 !important;
}


/* v0.4.7 - NIF toggle corrigido e sem underline */
body.msux-checkout .msux-collapsible-toggle,
body.msux-checkout .msux-collapsible-toggle:hover,
body.msux-checkout .msux-collapsible-toggle:focus {
    text-decoration: none !important;
}

body.msux-checkout #msux-contact-info-section .msux-row-nif-info {
    row-gap: 0 !important;
}


/* v0.4.9 - Distrito oculto, localidade na linha do código postal e telefone preservado */
body.msux-checkout #shipping_state_field.msux-hidden-state-field,
body.msux-checkout #billing_state_field.msux-hidden-state-field,
body.msux-checkout #shipping_state_field.msux-state-field,
body.msux-checkout #billing_state_field.msux-state-field {
    display: block !important;
    position: absolute !important;
    left: -99999px !important;
    top: auto !important;
    width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

@media (min-width: 992px) {
    body.msux-checkout #shipping_postcode_field,
    body.msux-checkout #shipping_city_field,
    body.msux-checkout #shipping_country_field,
    body.msux-checkout #billing_postcode_field,
    body.msux-checkout #billing_city_field,
    body.msux-checkout #billing_country_field {
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
    }
}

@media (max-width: 767px) {
    body.msux-checkout .msux-row-postcode-shipping,
    body.msux-checkout .msux-row-postcode-billing {
        display: flex !important;
        flex-direction: column !important;
    }

    body.msux-checkout #shipping_postcode_field,
    body.msux-checkout #shipping_city_field,
    body.msux-checkout #shipping_country_field,
    body.msux-checkout #billing_postcode_field,
    body.msux-checkout #billing_city_field,
    body.msux-checkout #billing_country_field {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}


/* v0.5.0 - Ajustes finais telefone e MB WAY */
body.msux-checkout #shipping_city_field label,
body.msux-checkout #billing_city_field label {
    white-space: nowrap !important;
}

body.msux-checkout #mbway_ifthen_for_woocommerce_phone {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
}


/* v0.5.3 - estabiliza hover dos botões dentro do acordeão de pagamento */
body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
body.msux-checkout .payment_box .msux-payment-action-inside-box,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    backface-visibility: hidden !important;
    will-change: auto !important;
    transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

body.msux-checkout .payment_box .msux-payment-action:hover,
body.msux-checkout .payment_box .msux-payment-action:focus,
body.msux-checkout .payment_box .msux-payment-action:active,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:hover,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:focus,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:active,
body.msux-checkout .payment_box .msux-payment-action-inside-box:hover,
body.msux-checkout .payment_box .msux-payment-action-inside-box:focus,
body.msux-checkout .payment_box .msux-payment-action-inside-box:active,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:hover,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:focus,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    background-color: var(--msux-green-dark) !important;
    box-shadow: 0 6px 16px rgba(2, 206, 5, 0.22) !important;
}

body.msux-checkout .cfw-radio-reveal-li:hover,
body.msux-checkout .wc_payment_method:hover,
body.msux-checkout .payment_methods li:hover {
    animation: none !important;
    transition: background-color 0.12s ease !important;
}

body.msux-checkout .cfw-radio-reveal-li.msux-selected-payment:hover,
body.msux-checkout .wc_payment_method.msux-selected-payment:hover,
body.msux-checkout .payment_methods li.msux-selected-payment:hover {
    background: #fbfffb !important;
}


/* v0.5.4 - CTA flutuante mobile temporariamente desabilitado */
body.msux-checkout .msux-sticky-payment-cta {
    display: none !important;
}

@media (max-width: 991px) {
    body.msux-checkout {
        padding-bottom: 0 !important;
    }

    body.msux-checkout footer,
    body.msux-checkout .cfw-footer {
        margin-bottom: 0 !important;
    }
}


/* v0.5.5 - distrito enviado, hover estável e ajustes finais mobile */
body.msux-checkout .payment_box .msux-payment-action,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action,
body.msux-checkout .payment_box .msux-payment-action-inside-box,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box,
body.msux-checkout .payment_box .msux-payment-action:hover,
body.msux-checkout .payment_box .msux-payment-action:focus,
body.msux-checkout .payment_box .msux-payment-action:active,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:hover,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:focus,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action:active,
body.msux-checkout .payment_box .msux-payment-action-inside-box:hover,
body.msux-checkout .payment_box .msux-payment-action-inside-box:focus,
body.msux-checkout .payment_box .msux-payment-action-inside-box:active,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:hover,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:focus,
body.msux-checkout .cfw-radio-reveal-content .msux-payment-action-inside-box:active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    background: var(--msux-green) !important;
    background-color: var(--msux-green) !important;
    box-shadow: 0 6px 16px rgba(2, 206, 5, 0.22) !important;
    transition: none !important;
}

body.msux-checkout .payment_box,
body.msux-checkout .cfw-radio-reveal-content,
body.msux-checkout .wc_payment_method,
body.msux-checkout .cfw-radio-reveal-li,
body.msux-checkout .payment_methods li {
    backface-visibility: hidden !important;
    transform: none !important;
}

body.msux-checkout input[data-msux-state-mirror="1"] {
    display: none !important;
}

@media (max-width: 767px) {
    body.msux-checkout #cfw-footer,
    body.msux-checkout #cfw-footer .cfw-footer-inner {
        border-top: 0 !important;
        box-shadow: none !important;
    }

    body.msux-checkout #cfw-footer hr,
    body.msux-checkout #cfw-footer .cfw-footer-inner > hr,
    body.msux-checkout #cfw-footer .cfw-footer-inner::before,
    body.msux-checkout #cfw-footer .cfw-footer-inner::after,
    body.msux-checkout #cfw-footer #msux-checkout-benefits::before,
    body.msux-checkout #cfw-footer #msux-checkout-benefits::after {
        display: none !important;
        content: none !important;
    }

    body.msux-checkout #cfw-footer #msux-checkout-benefits.msux-benefits-mobile-flow {
        border-top: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.msux-checkout #cfw-footer p,
    body.msux-checkout #cfw-footer .cfw-footer-copyright,
    body.msux-checkout #cfw-footer .copyright {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
}
