/* Preserve the approved directory order, including the mobile grid. */
/* The server-rendered form should remain usable while remote assets load. */
body.theme-dir-add-listing #theme-preloader { display: none !important; }

body .directorist-content-active .directorist-listing-type-selection__item:has([data-listing_type="featured-deals"]),
body.iso-home-v2-page .iso-v2-hero .directorist-listing-type-selection .directorist-listing-type-selection__item:has([data-listing_type="featured-deals"]) { order: 1 !important; }
body .directorist-content-active .directorist-listing-type-selection__item:has([data-listing_type="eating-out"]),
body.iso-home-v2-page .iso-v2-hero .directorist-listing-type-selection .directorist-listing-type-selection__item:has([data-listing_type="eating-out"]) { order: 2 !important; }
body .directorist-content-active .directorist-listing-type-selection__item:has([data-listing_type="pubs-clubs-bars"]),
body.iso-home-v2-page .iso-v2-hero .directorist-listing-type-selection .directorist-listing-type-selection__item:has([data-listing_type="pubs-clubs-bars"]) { order: 3 !important; }
body .directorist-content-active .directorist-listing-type-selection__item:has([data-listing_type="retail-services"]),
body.iso-home-v2-page .iso-v2-hero .directorist-listing-type-selection .directorist-listing-type-selection__item:has([data-listing_type="retail-services"]) { order: 4 !important; }

@media (max-width: 640px) {
	.iso-home-v2-page .iso-v2-hero [data-listing_type="featured-deals"]::after { content: "Featured"; }
	body.theme-dir-add-listing .directorist-type-nav__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	body.theme-dir-add-listing .directorist-type-nav__list > li { margin: 0; min-width: 0; }
	body.theme-dir-add-listing .directorist-type-nav__link { white-space: normal; }
}
