/* Checkout box above payment, and the cart warning when it is not "Tema". Estilo picks the variant. */
.frr-mnsrm-notice {
    margin: .8em 0;
    padding: .8em 1em;
    color: #1d2327;
    /* Fixed, not 1em: the payment block's text is larger than the order table's, and this
       must match the checkout-notices "Nota" box there (14px / 1.4 on the FRR theme). */
    font-size: 14px;
    line-height: 1.4;
}
.frr-mnsrm-notice--error  { border-left: 4px solid #b32d2e; background: #fdecec; }
.frr-mnsrm-notice--notice { border-left: 4px solid #2271b1; background: #f0f6fc; }
/* Custom: plain coloured box; background and text colours come inline from the settings. */
.frr-mnsrm-notice--custom { border-radius: 4px; }
.frr-mnsrm-notice--custom a { color: inherit; text-decoration: underline; }

/* Add-to-cart notice holding our box (Aviso no carrinho not "Tema"): WooCommerce's notice becomes a
   transparent wrapper so only our box shows. !important because the site forces .woocommerce-info styles. */
.woocommerce-info:has(> .frr-mnsrm-notice) {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
    text-align: left !important;
}
.woocommerce-info:has(> .frr-mnsrm-notice)::before,
.woocommerce-info:has(> .frr-mnsrm-notice)::after { content: none !important; display: none !important; }
.woocommerce-info > .frr-mnsrm-notice:not(.frr-mnsrm-notice--custom) { color: #1d2327 !important; }
.woocommerce-info > .frr-mnsrm-notice p,
.woocommerce-info > .frr-mnsrm-notice a { color: inherit !important; }
.woocommerce-info > .frr-mnsrm-notice a { text-decoration: underline; }
.frr-mnsrm-notice p { margin: 0 0 .5em; padding: 0; }
.frr-mnsrm-notice p:last-child { margin-bottom: 0; }
/* Checkout blocked: notice on top, payment methods and order button greyed and inert (see frontend.js). */
.frr-mnsrm-blocked > .frr-mnsrm-notice { margin: 0 0 1em; }
.frr-mnsrm-blocked .wc_payment_methods,
.frr-mnsrm-blocked .place-order {
    opacity: .45;
    filter: grayscale(1);
    pointer-events: none;
    user-select: none;
}
/* Product page message box (Estilo). Preset colours as checkout-notices' .frr-cn-notice--*. */
.frr-mnsrm-msg--notice,
.frr-mnsrm-msg--success,
.frr-mnsrm-msg--error,
.frr-mnsrm-msg--custom {
    margin: .8em 0;
    padding: .8em 1em;
    color: #1d2327;
    line-height: 1.5;
}
.frr-mnsrm-msg--notice  { border-left: 4px solid #2271b1; background: #f0f6fc; }
.frr-mnsrm-msg--success { border-left: 4px solid #00713c; background: #f0fdf4; }
.frr-mnsrm-msg--error   { border-left: 4px solid #b32d2e; background: #fdecec; }
/* Custom: plain coloured box; background and text colours come inline from the settings. */
.frr-mnsrm-msg--custom  { border-radius: 4px; }
.frr-mnsrm-msg--custom a { color: inherit; text-decoration: underline; }
/* Only inside a box: "Sem caixa" (no class modifier) keeps the theme's own spacing, as before. */
.frr-mnsrm-msg--notice p, .frr-mnsrm-msg--success p, .frr-mnsrm-msg--error p, .frr-mnsrm-msg--custom p { margin: 0 0 .5em; padding: 0; }
.frr-mnsrm-msg--notice p:last-child, .frr-mnsrm-msg--success p:last-child, .frr-mnsrm-msg--error p:last-child, .frr-mnsrm-msg--custom p:last-child { margin-bottom: 0; }
.frr-mnsrm-products {
    margin: .5em 0 0 1.2em !important;
    padding: 0 !important;
    list-style: disc !important;
}
.frr-mnsrm-products li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: disc !important;
    display: list-item !important;
}
