/* Version 1.1.0 — active only while the independent catalog switch is ON.
   Visibility only; never mutates WooCommerce products, prices or quantities. */

/* Remove purchase actions, header/cart fragments, dynamic WooCommerce blocks. */
body.markon-catalog-active .add_to_cart_button,
body.markon-catalog-active .single_add_to_cart_button,
body.markon-catalog-active .ajax_add_to_cart,
body.markon-catalog-active .wd-buy-now-btn,
body.markon-catalog-active .wd-sticky-btn-cart,
body.markon-catalog-active .wd-header-cart,
body.markon-catalog-active .cart-widget-side,
body.markon-catalog-active .widget_shopping_cart,
body.markon-catalog-active .wp-block-woocommerce-product-button,
body.markon-catalog-active .wc-block-components-product-button,
body.markon-catalog-active .doudoudis-purchase-commerce form.cart,
body.markon-catalog-active .doudoudis-purchase-actions .add-to-cart {
    display: none !important;
}

/* WooCommerce, WoodMart, Gutenberg, and custom Doudoudis product prices.
   Exclude order history / already-created order payment screens. */
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .woocommerce-Price-amount,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .woocommerce-price-suffix,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .product-price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .wd-product-price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .wd-price-unit,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .wc-block-components-product-price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .wc-block-grid__product-price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .wp-block-woocommerce-product-price,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .doudoudis-purchase-price-block,
body.markon-catalog-active:not(.woocommerce-account):not(.woocommerce-order-pay):not(.woocommerce-order-received) .doudoudis-purchase-savings-badge {
    display: none !important;
}

/* Stock status and stock quantities, including the custom single-product PHP
   template, which renders them directly rather than through standard hooks. */
body.markon-catalog-active .stock,
body.markon-catalog-active .availability,
body.markon-catalog-active .stock-status,
body.markon-catalog-active .wd-product-stock,
body.markon-catalog-active .wd-stock-progress,
body.markon-catalog-active .wd-stock-progress-bar,
body.markon-catalog-active .wc-block-components-product-stock-indicator,
body.markon-catalog-active .wc-block-components-product-low-stock-badge,
body.markon-catalog-active .wp-block-woocommerce-product-stock-indicator,
body.markon-catalog-active .wp-block-woocommerce-product-stock-countdown,
body.markon-catalog-active .doudoudis-product-quick-meta-stock,
body.markon-catalog-active .doudoudis-purchase-availability,
body.markon-catalog-active .doudoudis-product-quick-meta-separator:nth-last-child(2),
body.markon-catalog-active .doudoudis-purchase-trust > li:first-child {
    display: none !important;
}

/* The custom purchase card advertises online payments: hide that claim too. */
body.markon-catalog-active .doudoudis-purchase-trust > li:last-child {
    display: none !important;
}

body.markon-catalog-active .markon-catalog-notice {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 15px 0 21px;
    padding: 14px 18px;
    border-inline-start: 4px solid #455c44;
    border-radius: 6px;
    background: #f1f5ef;
    color: #28382d;
    font-size: 14px;
    line-height: 1.55;
}
body.markon-catalog-active .markon-catalog-notice strong {
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 767px) {
    body.markon-catalog-active .markon-catalog-notice {
        padding: 12px 14px;
        margin: 12px 0 16px;
    }
}
