/* Find my nearest showroom (Nearest showroom widget, location form fields) and location options
 * with a second line. Loaded only where one of them is used. */
.ndet-nearest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em 1em;
	margin: 0 0 0.75em;
}
/* Gone once the visitor's location is found, where set to hide (nearest.js). */
.ndet-nearest[hidden] {
	display: none;
}
.ndet-nearest__btn {
	min-height: 44px;
	padding: 0.6em 1.1em;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
}
.ndet-nearest__btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.ndet-nearest__note,
.ndet-nearest__status {
	flex: 1 1 16em;
	margin: 0;
	font-size: 0.85em;
}
.ndet-nearest__status:empty {
	display: none;
}
.ndet-nearest__tag {
	display: inline-block;
	align-self: start;
	justify-self: start;
	margin: 0 0 0.35em;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1.3;
}
.ndet-nearest-card {
	position: relative;
}
/* On a card in a "Nearest showroom first" container: a solid pill, readable on dark and light
 * cards alike. In the corner it sits on the card's top edge, clear of what's inside. */
.ndet-nearest__tag--corner,
.ndet-nearest__tag--here,
.ndet-nearest__tag--option {
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	color: #1a1617;
}
.ndet-nearest__tag--corner {
	position: absolute;
	top: 0;
	right: 12px;
	z-index: 2;
	margin: 0;
	transform: translateY(-50%);
	white-space: nowrap;
}
.ndet-nearest__tag--inside {
	top: 10px;
	right: 10px;
	transform: none;
}
/* Placed by the designer: on the line, in front of anything drawn in the same element (a cover
 * image, say). */
.ndet-nearest__tag--here,
.ndet-nearest__tag--option {
	position: relative;
	z-index: 2;
	margin: 0 0 0 0.5em;
	vertical-align: middle;
	white-space: nowrap;
}
.ndet-loc-opt__more,
.ndet-loc-opt__address,
.ndet-loc-opt__hours {
	display: block;
}
.ndet-loc-opt__more {
	font-size: 0.85em;
	opacity: 0.8;
}
.ndet-loc-opt__hours[hidden] {
	display: none;
}
