/**
 * Ellaroza Shop Flow - single-product notices.
 */
body.single-product .woocommerce-notices-wrapper {
    width: calc(100% - 40px);
    max-width: 580px;
    margin: 20px auto;
}

body.single-product .woocommerce-notices-wrapper > :last-child {
    margin-bottom: 0 !important;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error,
body.single-product ul.woocommerce-error {
    box-sizing: border-box !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 var(--ellaroza-spacing-sm) !important;
    padding: 10px 14px !important;
    border: 1px solid #E3E3E3 !important;
    border-left-width: 5px !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    font-size: var(--ellaroza-font-size-sm) !important;
    font-weight: var(--ellaroza-font-weight-normal) !important;
    line-height: 1.7 !important;
    text-align: right !important;
    list-style: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.single-product .woocommerce-message {
    border-left-color: #8ACCD5 !important;
}

body.single-product .woocommerce-info {
    border-left-color: #6B728E !important;
}

body.single-product .woocommerce-error,
body.single-product ul.woocommerce-error {
    border-left-color: #F198B3 !important;
}

body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before,
body.single-product ul.woocommerce-error::before {
    display: none !important;
    content: none !important;
}

body.single-product .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    list-style: none !important;
}

body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button,
body.single-product .woocommerce-error .button,
body.single-product .woocommerce-message a.wc-forward {
    order: 2 !important;
    align-self: flex-start !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 34px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    border: 1px solid #F198B3 !important;
    border-radius: 5px !important;
    outline: 0 !important;
    background: #F198B3 !important;
    background-color: #F198B3 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: var(--ellaroza-font-weight-bold) !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    transition: background-color var(--ellaroza-transition), border-color var(--ellaroza-transition);
}

body.rtl.single-product .woocommerce-message .button,
body.rtl.single-product .woocommerce-info .button,
body.rtl.single-product .woocommerce-error .button {
    align-self: flex-end !important;
}

body.single-product .woocommerce-message .button:hover,
body.single-product .woocommerce-info .button:hover,
body.single-product .woocommerce-error .button:hover {
    border-color: #FF90BB !important;
    background: #FF90BB !important;
    background-color: #FF90BB !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

body.single-product .woocommerce-error a.wc-forward,
body.single-product ul.woocommerce-error a.wc-forward {
    display: none !important;
}

@media (max-width: 768px) {
    body.single-product .woocommerce-message,
    body.single-product .woocommerce-info,
    body.single-product .woocommerce-error,
    body.single-product ul.woocommerce-error {
        gap: 6px !important;
        padding: 9px 12px !important;
    }

    body.single-product .woocommerce-notices-wrapper {
        width: calc(100% - 40px);
        margin: 20px auto;
    }

    body.single-product .woocommerce-message .button,
    body.single-product .woocommerce-info .button,
    body.single-product .woocommerce-error .button {
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 6px 12px !important;
        font-size: var(--ellaroza-font-size-sm) !important;
    }
}
