/* wp-content/themes/generatepress-child/assets/css/find-in-stores.css */
/*
.m4m-store-search {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-bottom: 4em;
}

.m4m-store-search label {
	font-weight: 600;
}

.m4m-store-search input[type="text"] {
	line-height: 1;
	padding: 7px 12px;
	border: 1px solid #ccc;
	min-width: 200px;
	border-radius: 15px;
}

.m4m-state-bar {
	background: #111;
	color: #fff;
	display: inline-block;
	padding: 8px 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.m4m-store-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em;
	row-gap: 4em;
}

@media (max-width: 900px) {
	.m4m-store-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.m4m-store-grid {
		grid-template-columns: 1fr;
	}
}

.m4m-store-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.m4m-state-block {
	grid-column: 1 / -1;
}

.m4m-state-bar--block {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.m4m-store-grid--nested {
	margin: 0;
}

.m4m-store-card {
	width: 100%;
	border: 1px solid #e2e2e2;
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.06);
	border-radius: 7px;
}

.m4m-store-card__photo {
	width: auto;
	height: 140px;
	object-fit: cover;
	margin-bottom: 15px;
	border-radius: 16px;
}

.m4m-store-card__placeholder {
	width: 140px;
	height: 140px;
	background: #e5e5e5;
	margin-bottom: 15px;
}

.m4m-store-card__name {
	font-family: Roboto Slab, serif;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.m4m-store-card__phone{
	color: #A92C29;
	font-weight: 700;
}

.m4m-store-card__address,
.m4m-store-card__phone {
	font-size: 0.9em;
	margin-bottom: 4px;
}

.m4m-store-card__phone a {
	color: #b3282d;
	text-decoration: none;
}

.m4m-store-card__map-btn {
	font-family: Roboto Slab, serif;
	font-size: 14px;
	margin-top: 15px;
	background: #b3282d;
	color: #fff;
	padding: 10px 24px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 3em;
}

.m4m-store-card__map-btn:hover,
.m4m-store-card__map-btn:focus {
	background: #8f2023;
	color: #fff;
	text-decoration: none;
}

.m4m-no-results {
	display: none;
	text-align: center;
	padding: 40px 0;
	font-size: 1.1em;
}*/
/* wp-content/themes/generatepress-child/assets/css/find-in-stores.css */

.m4m-store-search {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-bottom: 4em;
}

.m4m-store-search label {
	font-weight: 600;
}

.m4m-store-search input[type="text"] {
	line-height: 1;
	padding: 7px 12px;
	border: 1px solid #ccc;
	min-width: 200px;
	border-radius: 15px;
}

/* ===========================
   STATE HEADINGS
=========================== */

.m4m-state-bar {
	background: #111;
	color: #fff;
	display: inline-block;
	padding: 8px 16px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.m4m-state-bar--block {
	display: inline-block;
	margin: 0 auto 25px;
}

/* ===========================
   MAIN GRID
=========================== */

.m4m-store-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 32px;
	align-items: stretch;
	margin-top: 60px;
}

@media (max-width:900px) {
	.m4m-store-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
	}
}

@media (max-width:600px) {
	.m4m-store-grid {
		grid-template-columns: 1fr;
	}
}

.m4m-store-cell {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* ===========================
   LARGE STATE BLOCKS
=========================== */

.m4m-state-block {
	margin: 60px 0 0;
	text-align: center;
}

.m4m-state-block:first-of-type {
	margin-top: 0;
}

.m4m-store-grid--nested {
	margin-top: 25px;
}

/* ===========================
   STORE CARD
=========================== */

.m4m-store-card {
	display: flex;
	flex-direction: column;
	align-items: center;

	width: 100%;
	height: 100%;

	padding: 20px;

	border: 1px solid #e2e2e2;
	border-radius: 7px;

	box-sizing: border-box;
	background: #fff;

	box-shadow:
		0 0 4px rgba(0,0,0,.04),
		0 4px 8px rgba(0,0,0,.06);
}

/* ===========================
   IMAGE
=========================== */

.m4m-store-card__photo,
.m4m-store-card__placeholder {
	width: 170px;
	height: 170px;

	display: flex;
	align-items: center;
	justify-content: center;

	object-fit: contain;
	object-position: center;

	margin-bottom: 18px;
}

.m4m-store-card__placeholder {
	background: #efefef;
	border-radius: 16px;
}

/* ===========================
   CONTENT
=========================== */

.m4m-store-card__name {
	font-family: "Roboto Slab", serif;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	min-height: 52px;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.m4m-store-card__address {
	font-size: .9em;
	margin-bottom: 10px;
	line-height: 1.5;
}

.m4m-store-card__phone {
	font-size: .9em;
	font-weight: 700;
	color: #A92C29;
	margin-bottom: 15px;
}

.m4m-store-card__phone a {
	color: inherit;
	text-decoration: none;
}

/* ===========================
   PUSH BUTTON TO BOTTOM
=========================== */

.m4m-store-card__map-btn {
	margin-top: auto;

	display: inline-block;

	font-family: "Roboto Slab", serif;
	font-size: 14px;
	font-weight: 700;

	padding: 10px 24px;

	background: #b3282d;
	color: #fff;

	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .05em;

	border-radius: 999px;

	transition: background .2s ease;
}

.m4m-store-card__map-btn:hover,
.m4m-store-card__map-btn:focus {
	background: #8f2023;
	color: #fff;
	text-decoration: none;
}

/* ===========================
   SEARCH
=========================== */

.m4m-no-results {
	display: none;
	text-align: center;
	padding: 40px 0;
	font-size: 1.1em;
}
