/**
 * THE DAB HUT: WOOCOMMERCE NOTICES STYLING
 * Version: 2.0 - Performance Optimized
 * 
 * Styles "added to cart" and other WooCommerce notices.
 * Upload to: /wp-content/themes/blocksy-child/css/wc-notices.css
 */

/* =================================================================
   SUCCESS NOTICES (Added to cart, Updated, etc.)
   ================================================================= */
.woocommerce-message,
.woocommerce .woocommerce-message,
.wc-block-components-notice-banner.is-success,
div.woocommerce-message {
    background-color: #2E084D !important;
    color: #ffffff !important;
    border: 3px solid #F6C70A !important;
    border-radius: 15px !important;
    padding: 15px 20px 15px 50px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 15px rgba(46, 8, 77, 0.3) !important;
    position: relative !important;
}

/* Remove default WooCommerce left border */
.woocommerce-message,
.woocommerce .woocommerce-message {
    border-left: 3px solid #F6C70A !important;
}

/* Bell/notification icon - fixed position */
.woocommerce-message::before,
.woocommerce .woocommerce-message::before {
    color: #F6C70A !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
}

/* Notice text */
.woocommerce-message,
.woocommerce-message a:not(.button),
.woocommerce .woocommerce-message {
    color: #ffffff !important;
    font-size: 15px !important;
}

/* Product name link in notice */
.woocommerce-message a:not(.button) {
    color: #F6C70A !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-message a:not(.button):hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* View Cart / Undo button */
.woocommerce-message .button,
.woocommerce-message a.button,
.woocommerce-message .restore-item,
.woocommerce .woocommerce-message .button {
    background-color: #fd7200 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 25px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    text-transform: none !important;
    margin-left: 15px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(253, 114, 0, 0.3) !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover {
    background-color: #e66500 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(253, 114, 0, 0.4) !important;
}

/* =================================================================
   INFO NOTICES
   ================================================================= */
.woocommerce-info,
.woocommerce .woocommerce-info,
.wc-block-components-notice-banner.is-info {
    background-color: #2E084D !important;
    color: #ffffff !important;
    border: 3px solid #F6C70A !important;
    border-radius: 15px !important;
    padding: 15px 20px 15px 50px !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.woocommerce-info::before {
    color: #F6C70A !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.woocommerce-info a {
    color: #F6C70A !important;
}

/* =================================================================
   ERROR NOTICES
   ================================================================= */
.woocommerce-error,
.woocommerce .woocommerce-error,
.wc-block-components-notice-banner.is-error {
    background-color: #2E084D !important;
    color: #ffffff !important;
    border: 3px solid #ff4444 !important;
    border-radius: 15px !important;
    padding: 15px 20px 15px 50px !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.woocommerce-error::before {
    color: #ff4444 !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.woocommerce-error li {
    color: #ffffff !important;
}

/* =================================================================
   MOBILE RESPONSIVE
   ================================================================= */
@media only screen and (max-width: 768px) {
    .woocommerce-message,
    .woocommerce .woocommerce-message {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }

    .woocommerce-message .button,
    .woocommerce-message a.button {
        margin-left: 0 !important;
        margin-top: 12px !important;
        width: 100% !important;
        text-align: center !important;
    }
}
