/*
Theme Name: new ad hoc theme
Theme URI: https://elementor.com/hello-theme/
Description: Custom child theme for Hello Elementor.
Author: AD HOC SRL
Author URI: https://www.adhocweb.it
Template: hello-elementor
Version: 1.0.0
Text Domain: new-ad-hoc-theme
*/

/* Checkout a blocchi: campi fiscali a larghezza piena, come nel vecchio tema. */
body.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form .wc-block-components-address-form__campifiscali-partita-iva,
body.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form .wc-block-components-address-form__campifiscali-codice-fiscale {
    flex: 0 0 100% !important;
}

.wp-block-woocommerce-checkout .adhoc-checkout-remove {
    display: block;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    font: inherit;
    font-size: 0.875em;
    text-decoration: underline;
    cursor: pointer;
}

.wp-block-woocommerce-checkout .adhoc-checkout-remove:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.wp-block-woocommerce-checkout .adhoc-checkout-remove:disabled {
    opacity: 0.5;
    cursor: wait;
}

.adhoc-checkout-remove-status:empty {
    display: none;
}