/* Silent coupon UI */
body.woocommerce-cart tr.cart-discount,
        body.woocommerce-checkout tr.cart-discount,
        body.woocommerce-cart .wc-block-components-totals-discount,
        body.woocommerce-checkout .wc-block-components-totals-discount,
        body.woocommerce-cart .wc-block-components-totals-coupon__coupon-list,
        body.woocommerce-checkout .wc-block-components-totals-coupon__coupon-list,
        body.woocommerce-cart .wc-block-components-totals-coupon__coupon,
        body.woocommerce-checkout .wc-block-components-totals-coupon__coupon,
        body.woocommerce-cart .wc-block-components-chip[data-coupon-code],
        body.woocommerce-checkout .wc-block-components-chip[data-coupon-code],
        body.woocommerce-cart a.woocommerce-remove-coupon,
        body.woocommerce-checkout a.woocommerce-remove-coupon {
            display:none!important;
            visibility:hidden!important;
        }
        .yokoso-coupon-confetti-layer{position:fixed;inset:0;z-index:2147483646;pointer-events:none;overflow:hidden}
        .yokoso-coupon-confetti-bit{position:absolute;top:-28px;width:12px;height:20px;border-radius:2px;opacity:.95;animation:yokosoCouponConfetti var(--yc-d,3s) cubic-bezier(.18,.55,.32,.92) var(--yc-delay,0s) forwards;transform:translate3d(0,0,0) rotate(0deg)}
        @keyframes yokosoCouponConfetti{0%{transform:translate3d(0,-10px,0) rotate(0deg);opacity:1}100%{transform:translate3d(var(--yc-x,0),105vh,0) rotate(var(--yc-r,720deg));opacity:.1}}
        @media (prefers-reduced-motion:reduce){.yokoso-coupon-confetti-layer{display:none!important}}
        body.woocommerce-cart .yokoso-live-carts-country-coupon-input.yokoso-coupon-invalid{background:#fde8e8!important;border-color:#d96b6b!important;color:#7a1f1f!important}
        body.woocommerce-cart .yokoso-live-carts-country-coupon-error{display:none;margin:-4px 0 10px;padding:7px 9px;border:1px solid #d96b6b;border-radius:3px;background:#fde8e8;color:#7a1f1f;font-size:12px;line-height:1.35;font-weight:600;text-align:center;box-sizing:border-box}

/* Quote-only checkout shipping display */
body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping .wc-block-components-totals-item__value,
        body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping__amount,
        body.yokoso-quote-shipping-on-request [data-yp-shipping-total="1"] .wc-block-components-totals-item__value,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.shipping > td,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td {
            font-size: 0 !important;
            line-height: 1.25 !important;
            white-space: nowrap !important;
        }
        body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping .wc-block-components-totals-item__value > *,
        body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping__amount > *,
        body.yokoso-quote-shipping-on-request [data-yp-shipping-total="1"] .wc-block-components-totals-item__value > *,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.shipping > td > *,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td > * {
            display: none !important;
        }
        body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping .wc-block-components-totals-item__value::after,
        body.yokoso-quote-shipping-on-request .wc-block-components-totals-shipping__amount::after,
        body.yokoso-quote-shipping-on-request [data-yp-shipping-total="1"] .wc-block-components-totals-item__value::after,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.shipping > td::after,
        body.yokoso-quote-shipping-on-request .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td::after {
            content: "Op aanvraag" !important;
            display: inline !important;
            font-size: 15px !important;
            line-height: 1.25 !important;
            font-weight: 600 !important;
            color: inherit !important;
        }

/* Order-pay status guard */
.yokoso-order-pay-wait-mask {
                display:flex;
                align-items:center;
                justify-content:center;
                min-height:150px;
            }
            .yokoso-order-pay-spinner {
                width:26px;
                height:26px;
                border:3px solid rgba(0,0,0,.16);
                border-top-color:rgba(0,0,0,.62);
                border-radius:50%;
                animation:yokosoOrderPaySpin .7s linear infinite;
            }
            @keyframes yokosoOrderPaySpin { to { transform:rotate(360deg); } }

/* Guest order-received BeTheme guard */
body.woocommerce-order-received .mfn-header-login,
            body.woocommerce-order-received [class*="mfn-header-login"],
            body.woocommerce-order-received .mfn-login-overlay,
            body.woocommerce-order-received .mfn-header-login-overlay,
            body.woocommerce-order-received .mfn-modal-overlay,
            body.woocommerce-order-received [class*="mfn"][class*="overlay"] {
                display:none!important;
                visibility:hidden!important;
                opacity:0!important;
                pointer-events:none!important;
            }
            html:has(body.woocommerce-order-received),
            body.woocommerce-order-received {
                overflow:auto!important;
                overflow-x:hidden!important;
            }

/* Single-unit cart quantity controls */
.wc-block-components-quantity-selector.yokoso-single-unit-control {
                opacity: .55;
                cursor: default;
            }
            .wc-block-components-quantity-selector.yokoso-single-unit-control button,
            .wc-block-components-quantity-selector.yokoso-single-unit-control input {
                pointer-events: none !important;
                cursor: default !important;
            }
            .yokoso-single-unit-quantity {
                display: inline-flex;
                min-width: 2.5em;
                min-height: 2.5em;
                align-items: center;
                justify-content: center;
                opacity: .65;
            }

/* .352: Keep cart-update blocking, but remove its panel background tint. */
body.yokoso-live-carts-cart-context :is(.woocommerce-cart-form, .cart_totals, .cart-collaterals, .yokoso-live-carts-runtime-left, .yokoso-live-carts-runtime-right) .blockUI.blockOverlay {
    background-color: transparent !important;
}
