/* =============================================================================
   Showroom Locator Block
   Replicates all .page-retailer and .page-showroom scoped rules from
   johnsontile.css, scoped here to .showroom-locator instead.
   ============================================================================= */

/* ── Form ──────────────────────────────────────────────────────────────────── */

.showroom-locator form {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.showroom-locator form input {
	width: auto;
}

.showroom-locator form .submitbutton {
	height: 60px;
	background: #e74111;
	padding: 0 50px;
	line-height: 55px;
}

/* ── Intro block ───────────────────────────────────────────────────────────── */

.showroom-locator .block-1-inner {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Map ───────────────────────────────────────────────────────────────────── */

.showroom-locator #map {
	height: 500px;
}

/* ── Results container ─────────────────────────────────────────────────────── */

/* Override the global height:0 / overflow:hidden — always visible in block */
.showroom-locator .search-results {
	height: auto;
	overflow: visible;
	border-bottom: 1px solid #e5e5e5;
}

/* ── Content panel: matches map height, list scrolls inside ────────────────── */

.showroom-locator .search-content {
	height: 500px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	overflow: hidden;
}

/* ── Content header ────────────────────────────────────────────────────────── */

.showroom-locator .search-results .search-content-header {
	padding: 15px 30px;
	border-bottom: 1px solid #e5e5e5;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

/* ── Content list ──────────────────────────────────────────────────────────── */

.showroom-locator .search-results .search-content-list {
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	overflow-y: auto;
	max-height: none; /* override 445px from johnsontile.css */
	max-width: 85%;
}

/* ── Items ─────────────────────────────────────────────────────────────────── */

.showroom-locator .search-results .search-content-list .search-content-item {
	padding: 20px 30px;
	-webkit-transition: background-color .3s ease-in-out;
	-o-transition: background-color .3s ease-in-out;
	transition: background-color .3s ease-in-out;
	cursor: pointer;
}

.showroom-locator .search-results .search-content-list .search-content-item:hover {
	background-color: #e5e5e5;
}

.showroom-locator .search-results .search-content-list .search-content-item > p {
	margin-bottom: 10px;
}

.showroom-locator .search-results .search-content-list .search-content-item > p:last-child {
	margin-bottom: 0;
}

/* ── h4 in results ─────────────────────────────────────────────────────────── */

.showroom-locator .search-results h4 {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	font-weight: 500;
}

.showroom-locator .search-results h4 small {
	margin-left: auto;
	color: #585858;
	font-weight: 400;
}
