/**
 * Whole-card product links.
 *
 * Everything here hangs off `.advmp-cards-clickable`, a class the companion
 * script puts on <html>. Without the script the rules never match, so a card
 * never claims to be clickable when it is not.
 */

.advmp-cards-clickable .products .product,
.advmp-cards-clickable [data-advmp-feed-grid] .product,
.advmp-cards-clickable .wc-block-grid__product,
.advmp-cards-clickable .wc-block-product,
.advmp-cards-clickable .product-grid-item {
	cursor: pointer;
}

/* The controls on the card keep their own cursors — a shopper reaching for
   the wishlist heart should not be told they are about to open the product. */
.advmp-cards-clickable .products .product a,
.advmp-cards-clickable .products .product button,
.advmp-cards-clickable .products .product label,
.advmp-cards-clickable .wc-block-grid__product a,
.advmp-cards-clickable .wc-block-product a {
	cursor: pointer;
}

.advmp-cards-clickable .products .product input,
.advmp-cards-clickable .products .product select,
.advmp-cards-clickable .products .product textarea {
	cursor: auto;
}

/* A mini-cart row carries the `product` class too, and sits inside a list
   classed `products` — but it is a line of a basket, not a card. The script
   ignores it; this keeps the pointer honest as well. */
.advmp-cards-clickable .mini_cart_item,
.advmp-cards-clickable .cart_list .product,
.advmp-cards-clickable .widget_shopping_cart .product,
.advmp-cards-clickable .advmp-cart-drawer .product {
	cursor: auto;
}
