/* Hide Quick View button globally across the entire site */

/* Bizzview Quick View plugin */
.bv-quickview-button,
a.bv-quickview-button,
button.bv-quickview-button,
.bv-quick-view-btn,
[class*="bv-quickview"],
[class*="bizzview"],

/* YITH Quick View */
.yith-wcqv-button,
.button.yith-wcqv-button,
a.yith-wcqv-button,

/* Generic Quick View selectors */
.quick-view-button,
a.quick-view-button,
button.quick-view-button,
[class*="quick-view"],
[class*="quickview"],
[class*="quick_view"],

/* WooCommerce product loops */
.woocommerce ul.products li.product .bv-quickview-button,
.woocommerce ul.products li.product .quick-view-button,
.woocommerce ul.products li.product [class*="quick-view"],
.woocommerce ul.products li.product [class*="quickview"],

/* Elementor WooCommerce widgets */
.elementor-widget-woocommerce-products .bv-quickview-button,
.elementor-widget-woocommerce-products [class*="quickview"],
.elementor-widget-woocommerce-products [class*="quick-view"],
.elementor-widget-woocommerce-product-related .bv-quickview-button,
.elementor-widget-woocommerce-product-related [class*="quickview"],
.elementor-widget-woocommerce-product-related [class*="quick-view"],
.elementor-widget-upsells .bv-quickview-button,
.elementor-widget-upsells [class*="quickview"],
.elementor-widget-upsells [class*="quick-view"],

/* Related, upsells, cross-sells sections */
.related.products .bv-quickview-button,
.related.products [class*="quickview"],
.related.products [class*="quick-view"],
.upsells.products .bv-quickview-button,
.upsells.products [class*="quickview"],
.upsells.products [class*="quick-view"],
.cross-sells .bv-quickview-button,
.cross-sells [class*="quickview"],
.cross-sells [class*="quick-view"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* ===== Fix Quantita label on single product page ===== */

/* Hide ALL labels inside any quantity wrapper */
.quantity label,
.woocommerce .quantity label,
form.cart .quantity label,
.single-product .quantity label,
.elementor-widget-woocommerce-product-add-to-cart .quantity label,
.e-add-to-cart .quantity label,
.e-quantity__wrapper label,
[class*="add-to-cart"] .quantity label,
.woocommerce-variation-add-to-cart .quantity label,
.woocommerce-cart .quantity label {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
}

/* Hide screen-reader-text inside quantity */
.quantity .screen-reader-text,
.e-quantity__wrapper .screen-reader-text {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    font-size: 0 !important;
    opacity: 0 !important;
}

/* Zero out font on quantity containers to hide stray text nodes */
.quantity,
.e-quantity__wrapper {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Restore font for actual interactive elements */
.quantity input.qty,
.quantity .qty,
.quantity button,
.quantity .plus,
.quantity .minus,
.quantity input[type="number"],
.quantity input[type="text"],
.e-quantity__wrapper input,
.e-quantity__wrapper button,
.e-quantity__wrapper .plus,
.e-quantity__wrapper .minus {
    font-size: 16px !important;
    line-height: normal !important;
    color: inherit !important;
}
