/* Rapple Role-Based Pricing – Frontend Styles */

.rp-restricted-product .btn-add-to-cart,
.rp-restricted-product .btn-add-to-cart .add_to_cart.button,
.rp-restricted-product .btn-add-to-cart .select_option.button { display: none !important; }
span.contact-us, span.contact-us-single { display: inline-block; color: #c00; font-weight: 600; margin-top: 6px; }
/* The following elements are hidden via PHP guards; CSS is a safety net only */
.single-product .single_add_to_cart_button,
.single-product .variations_form,
.single-product .quantity { }

/* Ensure the image wrappers can contain absolutely positioned badges */
.woocommerce ul.products li.product .product-thumbnail,
.product-thumbnail,
.woocommerce div.product div.images { position: relative; }

/* Discount badge styles */
.discount-badge,
.discount-badge-loop {
    background: #e53935;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    position: absolute;
    z-index: 9;
}
.discount-badge { top: 10px; left: 10px; }
.discount-badge-loop { top: 8px; left: 8px; }
