/**
 * Remove every storefront entry point for Magento product comparison.
 * This parent-theme asset is inherited by both the LTR and RTL storefronts.
 */
.action.tocompare,
.link-compare,
[data-role="compare-products-link"],
[data-role="compare-products-sidebar"],
.block.block-compare {
    display: none !important;
}

/* Avoid empty action-list gaps where a template wraps the action in an li. */
@supports selector(li:has(> .action.tocompare)) {
    li:has(> .action.tocompare),
    li:has(> .link-compare) {
        display: none !important;
    }
}
