/* ============================================================
   SCI Store Locator
   ============================================================ */

.sci-store-locator {
	font-family: inherit;
}

/* Search bar — single compact row matching original style */
.sci-locator-search {
	background: #f2f2f2;
	border: 1px solid #d8d8d8;
	border-radius: 4px 4px 0 0;
}
.sci-locator-search-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	height: 50px;
}
.sci-locator-field {
	display: flex;
	align-items: center;
	background: #fff;
	border-right: 1px solid #d8d8d8;
	padding: 0 12px;
	flex: 1 1 0;
	min-width: 0;
}
.sci-locator-field label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #555;
	white-space: nowrap;
	margin-right: 10px;
	flex-shrink: 0;
}
.sci-locator-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 14px;
	padding: 0;
	background: transparent;
	min-width: 0;
	color: #222;
}
.sci-locator-input::placeholder {
	color: #aaa;
}
.sci-locator-select {
	border: none;
	outline: none;
	background: transparent;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	color: #222;
}
.sci-locator-btn {
	padding: 0 20px;
	background: #1F8290;
	color: #fff;
	border: none;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: .08em;
	white-space: nowrap;
	flex-shrink: 0;
	border-radius: 0;
}
.sci-locator-btn:hover {
	background: #167380;
}
.sci-locator-btn--reset {
	background: #f2f2f2;
	color: #444;
	border-left: 1px solid #d8d8d8;
	border-radius: 0 4px 0 0;
}
.sci-locator-btn--reset:hover {
	background: #e6e6e6;
}
.sci-locator-btn--locate {
	background: #f2f2f2;
	color: #1F8290;
	border: none;
	border-left: 1px solid #d8d8d8;
	font-size: 18px;
	padding: 0 14px;
	flex-shrink: 0;
	cursor: pointer;
	line-height: 1;
}
.sci-locator-btn--locate:hover {
	background: #e6f6f7;
}

/* Body: sidebar + map */
.sci-locator-body {
	display: flex;
	min-height: 350px;
}
.sci-locator-results {
	width: 300px;
	flex-shrink: 0;
	overflow-y: auto;
	max-height: 350px;
	border-right: 1px solid #e0e0e0;
	background: #fafafa;
	display: none; /* hidden until results populate */
}
.sci-locator-results.has-results {
	display: block;
}
.sci-locator-map {
	flex: 1;
	height: 350px;
}

/* Result list items */
.sci-result-item {
	padding: 12px 14px;
	border-bottom: 1px solid #e8e8e8;
	font-size: 13px;
	line-height: 1.5;
}
.sci-result-item:last-child {
	border-bottom: none;
}
.sci-result-dist {
	float: right;
	color: #888;
	font-size: 12px;
}
.sci-result-address,
.sci-result-phone {
	color: #555;
}
.sci-result-directions {
	display: inline-block;
	margin-top: 4px;
	color: #2a7a72;
	font-weight: 600;
	text-decoration: none;
}
.sci-result-directions:hover {
	text-decoration: underline;
}

/* Info window */
.sci-info-window {
	font-size: 13px;
	line-height: 1.7;
	max-width: 240px;
	padding: 4px 2px;
}
.sci-info-window strong a {
	color: #1F8290;
	text-decoration: none;
	font-size: 14px;
}
.sci-info-window strong a:hover {
	text-decoration: underline;
}
.sci-info-window .sci-iw-address {
	color: #444;
	margin: 4px 0 2px;
}
.sci-info-window .sci-iw-phone {
	color: #444;
}
.sci-info-window .sci-iw-directions {
	display: inline-block;
	margin-top: 6px;
	color: #fff;
	background: #1F8290;
	padding: 4px 10px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
}
.sci-info-window .sci-iw-directions:hover {
	background: #167380;
}

/* Responsive */
@media ( max-width: 760px ) {
	.sci-locator-search-inner {
		flex-wrap: wrap;
		height: auto;
	}
	.sci-locator-field {
		flex: 1 1 200px;
		border-bottom: 1px solid #ddd;
		height: 46px;
	}
	.sci-locator-btn {
		flex: 1;
		height: 46px;
	}
	.sci-locator-body {
		flex-direction: column;
	}
	.sci-locator-results {
		width: 100%;
		max-height: 200px;
		border-right: none;
		border-bottom: 1px solid #e0e0e0;
	}
	.sci-locator-map {
		height: 300px;
	}
}

/* Consent placeholder shown when Maps is blocked */
.sci-map-consent-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 200px;
	background: #f5f5f5;
	border: 1px dashed #ccc;
	text-align: center;
	padding: 24px;
	color: #555;
	font-size: 15px;
}
