/**
 * Store Infinite Scroll Styles
 */

/*
 * Hide the Product Collection block pagination while Ajax Load More is running.
 *
 * `display: none` is used rather than a visual-only hide on purpose. The
 * pagination links carry the Interactivity API directive
 * `data-wp-on--click="woocommerce/product-collection::actions.navigate"`, so a
 * keyboard user tabbing into them and pressing enter would trigger a
 * client-side region swap that replaces the grid and discards everything Ajax
 * Load More has appended. Removing the nav from the tab order and the
 * accessibility tree prevents that.
 */
.has-alm-infinite-scroll .wp-block-query-pagination {
	display: none;
}

/*
 * Raise the contrast of the Ajax Load More "blue" button (Ility #73, #78, #79).
 *
 * The plugin's blue style puts 14px white text on #0284c7, a 4.09:1 ratio,
 * below the 4.5:1 WCAG 1.4.3 minimum. This darkens it one step to #0369a1
 * (5.93:1), the shade the plugin itself uses for hover and focus, and moves
 * hover and focus one step further to #075985 (7.56:1) so the state change
 * stays visible.
 *
 * The selectors add `.alm-btn-wrap` to outrank the plugin's
 * `.ajax-load-more-wrap.blue .alm-load-more-btn` rules without `!important`.
 * The `.loading` state is left alone: the plugin makes it transparent with
 * `!important` while the spinner shows. The `.done` and `:disabled` states
 * are inactive controls, which 1.4.3 exempts. The rules also cover the
 * "Previous Products" button, which uses the same classes.
 */
.ajax-load-more-wrap.blue .alm-btn-wrap .alm-load-more-btn,
.ajax-load-more-wrap.blue .alm-btn-wrap .alm-load-more-btn:active {
	background-color: #0369a1;
	color: #fff;
}

.ajax-load-more-wrap.blue .alm-btn-wrap .alm-load-more-btn:hover,
.ajax-load-more-wrap.blue .alm-btn-wrap .alm-load-more-btn:focus {
	background-color: #075985;
	color: #fff;
}


/*# sourceMappingURL=store.css.map*/