/**
 * WholesaleNode for WooCommerce — Discount Notices & Strikethrough Pricing
 *
 * Covers:
 *  - Cart notice boxes (success, info)
 *  - Cart item strikethrough pricing
 *  - Product page strikethrough price
 *
 * @package B2B_Commerce_Kit_Free
 */


/* ==========================================================================
   1. CART NOTICES
   ========================================================================== */

.woowsn-discount-notices {
    margin-bottom: 20px;
}

.woowsn-discount-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Success: green — deal confirmed */
.woowsn-notice-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Info: blue — upsell */
.woowsn-notice-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}


/* ==========================================================================
   2. PRODUCT PAGE — STRIKETHROUGH PRICE
   ========================================================================== */

.woocommerce-page .price del,
.woocommerce .price del {
    color: #9ca3af;
    font-size: 0.9em;
}

.woocommerce-page .price ins,
.woocommerce .price ins {
    text-decoration: none;
    font-weight: 700;
}


/* ==========================================================================
   3. CART ITEM STRIKETHROUGH
   ========================================================================== */

.woocommerce-cart .cart_item del,
.woocommerce-checkout .cart_item del {
    color: #9ca3af;
    font-size: 0.9em;
    display: inline;
}


/* ==========================================================================
   4. RESPONSIVE
   ========================================================================== */

@media ( max-width: 768px ) {
    .woowsn-discount-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}
