.wcmo-box-minicart,
.wcmo-cart-notice {
    border: 2px dashed #e5e5e5;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: var(--wd-brd-radius, 2px);
}

.wcmo-box-minicart p,
.wcmo-cart-notice p {
    margin: 0;
}

.wcmo-bar-minicart,
.wcmo-bar {
    height: 10px;
    background: #f1f1f1;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 2px;
}

.wcmo-bar-minicart span,
.wcmo-bar span {
    display: block;
    height: 100%;
    width: 0;
    background-color: #d36b0a;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.25) 0,
        rgba(255,255,255,0.25) 10px,
        rgba(255,255,255,0) 10px,
        rgba(255,255,255,0) 20px
    );
    transition: width .4s ease;
}

/* Mini-cart checkout button disabled while the minimum is not met. */
.wcmo-disable-checkout .checkout {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Woodmart poate plasa butonul în footerul lateral, în afara listei de produse. */
.wcmo-checkout-disabled,
.wcmo-disable-checkout a.checkout,
.wcmo-disable-checkout a.checkout-button,
.wcmo-disable-checkout .woocommerce-mini-cart__buttons a[href*="checkout"],
.wcmo-disable-checkout .shopping-cart-widget-footer a[href*="checkout"],
.wcmo-disable-checkout .wd-buttons a[href*="checkout"] {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Pagina Coș: nu permite continuarea către Checkout cât timp pragul nu este atins. */
.wcmo-cart-checkout-disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/*
 * Pagina Coș — invariant server/client: când body este marcat wcmo-cart-blocked,
 * butonul de continuare către Checkout rămâne vizual dezactivat chiar înainte
 * ca JS-ul să adauge clasa direct pe element. Acoperă WooCommerce și Woodmart.
 */
body.woocommerce-cart.wcmo-cart-blocked .wc-proceed-to-checkout a,
body.woocommerce-cart.wcmo-cart-blocked .cart_totals a.checkout-button,
body.woocommerce-cart.wcmo-cart-blocked .cart_totals a.button,
body.woocommerce-cart.wcmo-cart-blocked .cart-totals-inner a.checkout-button,
body.woocommerce-cart.wcmo-cart-blocked .cart-totals-inner a.button,
body.woocommerce-cart.wcmo-cart-blocked .wd-cart-totals a.checkout-button,
body.woocommerce-cart.wcmo-cart-blocked .wd-cart-totals a.button {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Mini-cart: align the minimum-order card width with Smart Cross-sell recommendation cards. */
.wcmo-box-minicart {
    box-sizing: border-box;
    margin-left: 15px;
    margin-right: 15px;
}
