/* WPSL category filter bar
   Colors are applied inline from the PHP config (per category); these rules
   handle structure/layout only. ID selector keeps specificity above theme CSS. */
#wpsl-cat-filter.wpsl-cat-filter {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	width: 100%;
	clear: both;
	float: none;
	padding: 14px 0 16px;
	margin: 0;
	font-family: 'Arimo', Arial, Helvetica, sans-serif;
	line-height: 1;
}
#wpsl-cat-filter .wpsl-cat-btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	width: auto;
	min-width: 0;
	max-width: none;
	padding: 8px 16px;
	border: 2px solid #cccccc;
	background: #ffffff;
	color: #555555;
	border-radius: 22px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
	transition: color .12s ease, background-color .12s ease, border-color .12s ease;
}
#wpsl-cat-filter .wpsl-cat-btn:hover {
	filter: brightness(0.95);
}
#wpsl-cat-filter .wpsl-cat-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
}
#wpsl-cat-filter .wpsl-cat-count {
	font-weight: 400;
	opacity: .8;
}

/* Category badge inside each store list card (colors applied inline by JS).
   A dual-service store renders one badge per category, so they need a gutter. */
.wpsl-cat-badge {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 3px 10px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	line-height: 1.5;
	font-family: 'Arimo', Arial, Helvetica, sans-serif;
}

@media (max-width: 600px) {
	#wpsl-cat-filter.wpsl-cat-filter { gap: 8px; padding: 12px 0 14px; }
	#wpsl-cat-filter .wpsl-cat-btn { padding: 7px 13px; font-size: 13px; }
}

/* Result-card actions — "Directions" and "Location Details".
   Two IDs are deliberate: the theme styles content links with
   `#Content .content_wrapper .mcb-section p a` (1,4,2) and forces the hover
   underline with !important, so a single-ID selector loses every property.
   #wpsl-wrap also covers the map info windows, which render in the same wrap. */
#Content #wpsl-wrap a.wpsl-directions,
#Content #wpsl-wrap a.wpsl-store-details {
	/* Both sit at black when idle. Without this the theme paints them #FF9E18,
	   a hair off the #f7a700 hover color, so the hover reads as no change. */
	color: #000000;
	/* !important is the only way past the theme's !important hover underline. */
	text-decoration: none !important;
	transition: color .12s ease;
}
#Content #wpsl-wrap a.wpsl-directions {
	font-weight: 700;
}
#Content #wpsl-wrap a.wpsl-directions:hover,
#Content #wpsl-wrap a.wpsl-directions:focus,
#Content #wpsl-wrap a.wpsl-store-details:hover,
#Content #wpsl-wrap a.wpsl-store-details:focus {
	color: #f7a700;
}

/* Free-text opening hours. Sits after .wpsl-store-hours as a sibling, and also
   stands alone when the generated grid is hidden for that store. */
.wpsl-alternative-store-hours { margin-top: 6px; }
/* WPSL runs wpautop() over wp_editor content, so the copy arrives in <p>s. */
.wpsl-alternative-store-hours p { margin: 0 0 4px; }
.wpsl-alternative-store-hours p:last-child { margin-bottom: 0; }
