/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_B2BCustom
 * @author    Webkul
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */

/* Hide B2B specific elements for non-B2B users and Manufacturers */
.b2b-user-none .wk-supplier-dropdown-wrap,
.b2b-user-none .wk-supplier-product-block,
.b2b-user-none .ask-que-b2b,
.b2b-user-manufacturer .wk-supplier-dropdown-wrap,
.b2b-user-manufacturer .wk-supplier-product-block,
.b2b-user-manufacturer .ask-que-b2b,
.b2b-user-wholesaler .wk-supplier-dropdown-wrap,
.b2b-user-wholesaler .wk-supplier-product-block,
.b2b-user-wholesaler .ask-que-b2b {
    display: none !important;
}

/* Hide Stock status for Manufacturers as they are view-only */
.b2b-user-manufacturer .stock.available,
.b2b-user-manufacturer .stock.unavailable {
    display: none !important;
}


/* --- Hide Wishlist/Compare in Widgets when disabled --- */
/* The Plugin ActionVisibility returns an empty string for data-post on restricted products.
   Since widget templates hardcode the <a> tags, we hide them if data-post is empty. */
a.action.towishlist[data-post=""],
a.action.tocompare[data-post=""] {
    display: none !important;
}