/**
 * Split delivery: category bar on event pages
 *
 * Loaded only when Customizer > Split Delivery > "Show category bar on event pages?" is on.
 */

/* The bar: split-delivery.css hides the category bar on event pages.
 * It shows once split-delivery-events-nav.js has filled it. */
body.wcl-spdl-events.wcl-spdl-events-nav .wca-filter-form .navigation__nav.navigation__nav--events.is-ready{
	display: flex !important;
}

/* The category titles: shown even if other styles hide them on event pages.
 * scroll-margin-top keeps the title below the fixed header and bar after scrolling to it. */
body.wcl-spdl-events.wcl-spdl-events-nav #wca-products .loop__group_title{
	display: block !important;
	scroll-margin-top: 130px;
}
@media (min-width: 768px){
	body.wcl-spdl-events.wcl-spdl-events-nav #wca-products .loop__group_title{
		scroll-margin-top: 160px;
	}
}
