/* SM Marketplace store locations (lib/includes/sm-locations.php). Plain CSS, not in the Gulp build. */

/* Locations page: stores side by side */
.sm-stores {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin: 2rem 0;
}
@media (min-width: 768px) {
	.sm-stores--multi {
		grid-template-columns: 1fr 1fr;
	}
}
.sm-store {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 8px 24px rgba(25, 25, 26, 0.08);
}
.sm-store__map {
	position: relative;
	padding-top: 56.25%;
	background: #eee;
}
.sm-store__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.sm-store__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
	padding: 2rem;
}
.sm-store__name {
	margin: 0 0 0.75rem;
}
.sm-store__badge {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.3rem 0.8rem;
	background: #CAA45D;
	color: #19191A;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.sm-store__badge--small {
	margin: 0 0 0 0.4rem;
	padding: 0.1rem 0.5rem;
	font-size: 0.7rem;
	vertical-align: middle;
}
.sm-store__address,
.sm-store__hours,
.sm-store__phone {
	margin: 0 0 1rem;
}
.sm-store__label {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.sm-store__phone a {
	color: inherit;
	font-weight: 700;
}
.sm-store__directions {
	margin-top: auto;
	display: inline-block;
	padding: 0.9375rem 1.5rem;
	background: #19191A;
	border: 1px solid #19191A;
	color: #fff;
	line-height: 1rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}
.sm-store__directions:hover,
.sm-store__directions:focus {
	background: #CAA45D;
	border-color: #CAA45D;
	color: #fff;
	text-decoration: none;
}

/* Contact info block (footer, "visit us", Contact page): one group per store */
.contact-info-block__store {
	padding: 0.25rem 0 0.75rem;
}
.contact-info-block__store-name {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0 0;
}
.contact-info-block__store .sm-store__badge {
	margin: 0.25rem 0 0.25rem 0;
}

/* Contact page column list */
.sm-store-addresses__item {
	margin-bottom: 0.75rem;
}
.sm-store-addresses__item a {
	color: inherit;
}
