/* Shoot 360 Location Finder */

.s360-locator {
	--s360-red: #ef001d;
	--s360-ink: #111;
	--s360-muted: #555;
	--s360-line: #e5e5e5;
	font-family: inherit;
	max-width: 1280px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--s360-line);
	border-radius: 10px;
	overflow: hidden;
}

/* ------------------------------------------------------------------- bar */

.s360-locator__bar {
	display: flex;
	gap: 10px;
	padding: 14px;
	border-bottom: 1px solid var(--s360-line);
	background: #fff;
}

.s360-locator__search {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	background: #f5f5f5;
	border-radius: 6px;
}

.s360-locator__input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 14px;
	font-size: 15px;
	outline: none;
}

.s360-locator__geo {
	border: 0;
	background: transparent;
	padding: 0 12px;
	cursor: pointer;
	color: var(--s360-red);
	display: flex;
	align-items: center;
}

.s360-locator__geo:hover { color: #b30016; }

.s360-locator__radius {
	border: 1px solid var(--s360-line);
	border-radius: 6px;
	background: #f5f5f5;
	padding: 0 12px;
	font-size: 15px;
	cursor: pointer;
}

.s360-locator__suggestions {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--s360-line);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	z-index: 30;
	max-height: 280px;
	overflow-y: auto;
}

.s360-suggestion {
	padding: 10px 14px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.s360-suggestion:hover { background: #f7f7f7; }

.s360-suggestion__sub { color: var(--s360-muted); font-size: 13px; }

.s360-suggestion--area {
	border-top: 1px solid var(--s360-line);
	color: var(--s360-red);
	font-weight: 600;
}

/* ------------------------------------------------------------------ body */

.s360-locator__body {
	display: flex;
	height: 640px;
}

.s360-locator__list {
	width: 42%;
	min-width: 320px;
	overflow-y: auto;
	border-right: 1px solid var(--s360-line);
}

.s360-locator__map { flex: 1; min-height: 300px; }

.s360-locator__loading {
	padding: 30px;
	color: var(--s360-muted);
	text-align: center;
}

/* ------------------------------------------------------------------ card */

.s360-card {
	display: flex;
	gap: 14px;
	padding: 18px;
	border-bottom: 1px solid var(--s360-line);
	cursor: pointer;
	transition: background 0.15s ease;
}

.s360-card:hover { background: #fafafa; }
.s360-card.is-selected { background: #fdf3f4; }

.s360-card__logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 50%;
}

.s360-card__body { flex: 1; min-width: 0; }

.s360-card__header {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.s360-card__name {
	margin: 0;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--s360-ink);
}

@media (max-width: 820px) {
	.s360-card__name { font-size: 24px; }
}

.s360-card__badge {
	background: var(--s360-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 3px;
	letter-spacing: 0.04em;
}

.s360-card__social {
	display: flex;
	gap: 8px;
	margin: 6px 0;
}

.s360-card__social-link { color: var(--s360-red); display: inline-flex; }
.s360-card__social-link:hover { color: #b30016; }

.s360-card__address {
	margin: 6px 0;
	font-size: 14px;
	color: var(--s360-ink);
	line-height: 1.45;
}

.s360-card__venue {
	margin: 2px 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--s360-ink);
}

.s360-card__desc {
	margin: 2px 0 8px;
	font-size: 13px;
	color: var(--s360-muted);
	line-height: 1.5;
}

.s360-card__hours { margin: 8px 0; font-size: 13.5px; }

.s360-hours-row {
	display: flex;
	gap: 14px;
	padding: 1px 0;
	color: var(--s360-muted);
}

.s360-hours-row__days { min-width: 84px; }

.s360-hours-row.is-today,
.s360-hours-row.is-today .s360-hours-row__days,
.s360-hours-row.is-today .s360-hours-row__time {
	font-weight: 700;
	color: var(--s360-ink);
}

.s360-card__phone {
	display: inline-block;
	margin: 4px 0;
	color: var(--s360-red);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.s360-card__ctas {
	display: flex;
	gap: 8px;
	margin: 10px 0 4px;
	flex-wrap: wrap;
}

.s360-btn {
	display: inline-block;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.15s ease;
}

.s360-btn--primary { background: var(--s360-red); color: #fff; }
.s360-btn--primary:hover { background: #c40018; color: #fff; }

.s360-btn--secondary {
	background: #fff;
	color: var(--s360-red);
	border: 2px solid var(--s360-red);
}

.s360-btn--secondary:hover { background: #fdf3f4; }

.s360-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
}

.s360-card__dist { font-size: 13px; color: var(--s360-muted); }

.s360-card__view {
	font-size: 13px;
	font-weight: 600;
	color: var(--s360-red);
	text-decoration: none;
}

.s360-card__view:hover { text-decoration: underline; }

/* ------------------------------------------------------------ empty/back */

.s360-empty { padding: 22px 18px 4px; }

.s360-empty__msg {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--s360-ink);
	font-weight: 600;
}

.s360-empty__nearest {
	margin: 0;
	padding: 0 18px;
	font-size: 13px;
	color: var(--s360-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.s360-back {
	display: block;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--s360-line);
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--s360-muted);
	cursor: pointer;
}

.s360-back:hover { color: var(--s360-ink); }

/* -------------------------------------------------------------------- pin */

.s360-pin { cursor: pointer; line-height: 0; }
.s360-pin--presale { opacity: 0.75; }
.s360-pin img { width: 30px; height: auto; }

.s360-map-missing {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--s360-muted);
}

/* ---------------------------------------------------------------- mobile */

@media (max-width: 1024px) {
	/* Fixed-height column: the map holds its share and the list becomes a
	   contained scroll area filling the remainder. min-height:0 is required
	   for the list to scroll rather than expand to fit its content. */
	.s360-locator__body {
		flex-direction: column;
		height: 82vh !important;
		max-height: 900px;
	}

	.s360-locator__map {
		order: 1;
		flex: 0 0 42%;
		min-height: 240px;
	}

	.s360-locator__list {
		order: 2;
		width: 100%;
		min-width: 0;
		flex: 1 1 auto;
		min-height: 0 !important;
		max-height: none;
		height: auto;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		border-right: 0;
		border-top: 1px solid var(--s360-line);
	}

	.s360-locator__bar { flex-wrap: wrap; }
	.s360-locator__radius { padding: 10px 12px; }
}

/* ------------------------------------------------- estimated banner */

.s360-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 9px 14px;
	background: #fdf3f4;
	border-bottom: 1px solid #f4d5d9;
	font-size: 13px;
	color: #333;
}

.s360-banner__link {
	background: none;
	border: 0;
	padding: 0;
	color: #ef001d;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}

/* ------------------------------------------------- set-as-mine link */

.s360-card__setmine,
.s360-card__setmine:hover,
.s360-card__setmine:focus {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.s360-card__setmine { color: #999; }
.s360-card__setmine:hover { color: #bfbfbf; }
.s360-card__setmine.is-set { color: #0a7; cursor: default; }

/* ---------------------------------------------- place suggestion group */

/* Places from Mapbox sit beneath the visitor's own locations, in a
   labelled group, so the two never mix or shuffle as results arrive. */
.s360-suggestion-group {
	border-top: 1px solid var(--s360-line);
}

.s360-suggestion-group__label {
	padding: 8px 14px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--s360-muted);
}

.s360-suggestion--place .s360-suggestion__sub {
	flex: 1;
	text-align: right;
}
