/* FastRig 3.4 - Native WooCommerce notices only. No hiding, timing or DOM changes. */
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) {
    --fr34-accent: #ffac66;
    --fr34-line: #593c29;
    --fr34-tint: rgba(255,101,0,.065);
    box-sizing: border-box !important;
    background: linear-gradient(100deg,var(--fr34-tint),transparent 65%), #151819 !important;
    border: 1px solid var(--fr34-line) !important;
    border-inline-start: 4px solid var(--fr34-accent) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
    color: #f1f3f3 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-shadow: none !important;
    text-align: start !important;
    overflow-wrap: anywhere;
    margin: 0 0 20px !important;
    max-width: 100%;
}
body.fr34-notices :is(.woocommerce-message,.wc-block-components-notice-banner.is-success) {
    --fr34-accent: #a3df35;
    --fr34-line: #3b4d27;
    --fr34-tint: rgba(132,204,0,.075);
}
body.fr34-notices :is(.woocommerce-error,.wc-block-components-notice-banner.is-error) {
    --fr34-accent: #ff777f;
    --fr34-line: #69363a;
    --fr34-tint: rgba(255,80,93,.085);
}
body.fr34-notices .wc-block-components-notice-banner.is-warning {
    --fr34-accent: #ffd078;
    --fr34-line: #604b2c;
    --fr34-tint: rgba(255,185,65,.075);
}
/* Classic notices: preserve the native icon and button flow. */
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
    position: relative;
    display: flow-root !important;
    padding: 18px 20px 18px 48px !important;
    list-style: none !important;
    min-height: 60px;
}
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before {
    color: var(--fr34-accent) !important;
    background: transparent !important;
    text-shadow: none !important;
    inset-inline-start: 18px !important;
    top: 20px !important;
    font-size: 16px !important;
}
body.fr34-notices .woocommerce-error > li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.fr34-notices .woocommerce-error > li + li { margin-top: 8px !important; }
/* Preserve readability even where earlier theme rules color paragraphs/spans. */
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(p,span,strong,li,.wc-block-components-notice-banner__content) {
    color: #f1f3f3 !important;
    text-shadow: none !important;
    background-color: transparent !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) a:not(.button):not(.wc-block-components-button) {
    color: var(--fr34-accent) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-shadow: none !important;
}
/* Native View cart and other notice action links. */
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(a.button,button.button,a.wc-block-components-button,button.wc-block-components-button:not(.wc-block-components-button--icon)) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 42px;
    padding: 9px 16px !important;
    border: 1px solid var(--fr34-accent) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--fr34-accent) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    white-space: normal !important;
}
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) > .button { float: inline-end !important; margin: -5px 0 4px 16px !important; }
body.fr34-notices .woocommerce-message :is(a.button,button.button) { background: #84cc00 !important; border-color: #84cc00 !important; color: #101410 !important; }
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(a.button,button.button,a.wc-block-components-button,button.wc-block-components-button:not(.wc-block-components-button--icon)):hover {
    background: var(--fr34-accent) !important;
    color: #101410 !important;
}
body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(a,button):focus-visible { outline: 2px solid #fff !important; outline-offset: 3px !important; }
/* Blocks retain WooCommerce's React layout, status, dismiss and accessible semantics. */
body.fr34-notices .wc-block-components-notice-banner { padding: 15px 18px !important; align-items: flex-start; gap: 12px; }
body.fr34-notices .wc-block-components-notice-banner > svg {
    color: #151819 !important;
    fill: #151819 !important;
    background: var(--fr34-accent) !important;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: none !important;
}
body.fr34-notices .wc-block-components-notice-banner__content { min-width: 0; }
body.fr34-notices .wc-block-components-notice-banner :is(button.wc-block-components-button--icon,button[aria-label="Dismiss this notice"]) {
    color: #f1f3f3 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
body.fr34-notices .wc-block-components-notice-banner button svg { color: currentColor !important; fill: currentColor !important; background: transparent !important; }
body.fr34-notices .wc-block-components-notice-banner :is(a.wc-block-components-button,button.wc-block-components-button:not(.wc-block-components-button--icon)) span { color: inherit !important; }
@media (max-width: 600px) {
    body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) { padding: 14px 14px 14px 40px !important; font-size: 14px !important; }
    body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before { inset-inline-start: 13px !important; top: 16px !important; }
    body.fr34-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) > .button { float: none !important; margin: 0 0 9px !important; display: table !important; max-width: 100%; }
    body.fr34-notices .wc-block-components-notice-banner { padding: 12px !important; font-size: 14px !important; gap: 8px; }
}
