/* Product notices outside the site's normal content container. */
body.single-product #brx-content > .woocommerce-notices-wrapper:not(:empty),
body.single-product > .woocommerce-notices-wrapper:not(:empty),
body.single-product #brx-content > .woocommerce > .woocommerce-notices-wrapper:not(:empty),
body.single-product #brx-content > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info),
body.single-product #brx-content > .brxe-container > .woocommerce-notices-wrapper:not(:empty),
body.single-product #brx-content .brxe-woocommerce-notice {
    box-sizing:border-box;
    width:calc(100% - 2 * clamp(16px,3vw,32px));
    max-width:var(--bricks-content-width,1200px);
    margin:clamp(24px,3vw,40px) auto 24px!important;
}
body.single-product .woocommerce-notices-wrapper:empty {display:none;}
body.single-product #brx-content .woocommerce-notices-wrapper > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info),
body.single-product > .woocommerce-notices-wrapper > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) {
    box-sizing:border-box;width:100%;margin:0!important;min-width:0;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-error > li,
body.single-product #brx-content .woocommerce-error > li,
body.single-product .brxe-woocommerce-notice .woocommerce-error > li {
    display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;
    min-width:0;line-height:1.6;overflow-wrap:break-word;
}
body.single-product .woocommerce-notices-wrapper .button,
body.single-product #brx-content > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) .button,
body.single-product .brxe-woocommerce-notice .button {
    float:none!important;order:2;margin:0 0 0 auto!important;
    text-align:center;white-space:normal;max-width:100%;
}
/* Long Bulgarian button labels wrap rather than overflow narrow screens. */
body:is(.woocommerce-cart,.woocommerce-checkout) #brx-content :is(
    .wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button
) {height:auto;white-space:normal;min-height:52px;text-align:center;}
@media (max-width:600px) {
    body.single-product .woocommerce-notices-wrapper .button,
    body.single-product #brx-content > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) .button,
    body.single-product .brxe-woocommerce-notice .button {
        width:100%;margin-inline:0!important;box-sizing:border-box;
    }
}
