/* Keyword-only store locator: hide the address and radius fields so the
   keyword box and the search button are all that remain. The search itself
   is patched to run without an address (js/keyword-search-frontend.js). */

.wpgmza_map .wpgmza-store-locator .wpgmza-address-container,
.wpgmza_map .wpgmza-store-locator .wpgmza-radius-container,
.wpgmza-standalone-component .wpgmza-store-locator .wpgmza-address-container,
.wpgmza-standalone-component .wpgmza-store-locator .wpgmza-radius-container {
	display: none !important;
}

/* With the address field gone the keyword box is the only input, so let it
   take all remaining width (the search button stays at the right edge). */
.wpgmza_map .wpgmza-inner-stack .wpgmza-store-locator,
.wpgmza-standalone-component .wpgmza-store-locator {
	width: 100%;
}

.wpgmza_map .wpgmza-store-locator div.wpgmza-keywords,
.wpgmza-standalone-component .wpgmza-store-locator div.wpgmza-keywords {
	flex: 1 1 60% !important;
	min-width: 120px;
}

/* The category dropdown sizes itself to its longest option at a large font and
   crowds out the keyword box. Cap it at ~35% of the row and let it truncate. */
.wpgmza_map .wpgmza-store-locator .wpgmza-category-filter-container,
.wpgmza-standalone-component .wpgmza-store-locator .wpgmza-category-filter-container {
	flex: 0 1 35% !important;
	min-width: 0;
	max-width: 35%;
}

.wpgmza_map .wpgmza-store-locator .wpgmza-category-filter-container select,
.wpgmza-standalone-component .wpgmza-store-locator .wpgmza-category-filter-container select {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	font-size: 14px !important;
	text-overflow: ellipsis;
}

.wpgmza_map .wpgmza-store-locator div.wpgmza-keywords input.wpgmza-keywords,
.wpgmza-standalone-component .wpgmza-store-locator div.wpgmza-keywords input.wpgmza-keywords {
	width: 100% !important;
	box-sizing: border-box;
}
