/* City hubs. Cards and loved lists come from restaurant-page.css. */

.happymenu-hub {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding-bottom: 4rem;
}

.happymenu-hub__breadcrumbs {
	color: #6b7280;
	display: flex;
	flex-wrap: wrap;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.25rem;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1rem;
}

.happymenu-hub__breadcrumbs a,
.happymenu-hub__breadcrumbs a:visited {
	color: #6b7280 !important;
	text-decoration: none !important;
}

.happymenu-hub__breadcrumbs a:hover {
	color: #00af74 !important;
}

.happymenu-hub__summary p {
	font-size: 1.6rem;
	margin: 0.75rem auto 0;
	max-width: 62rem;
}

.happymenu-hub__actions {
	margin: 0 0 2.5rem;
	text-align: center;
}

.happymenu-hub .happymenu-hub__button,
.happymenu-hub .happymenu-hub__button:visited {
	align-items: center;
	background: #00af74 !important;
	border: 2px solid #00af74;
	border-radius: 0;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 1.4rem;
	font-weight: 700;
	justify-content: center;
	min-height: 4.2rem;
	padding: 0.6rem 1.6rem;
	text-decoration: none !important;
}

.happymenu-hub .happymenu-hub__button:hover,
.happymenu-hub .happymenu-hub__button:focus {
	background: #000 !important;
	border-color: #000;
	color: #fff !important;
}

.happymenu-hub__section {
	margin: 0 0 3.5rem;
}

.happymenu-hub .happymenu-hub__heading {
	font-size: 2.4rem;
	margin: 0 0 1.25rem;
}

.happymenu-hub__group {
	margin-bottom: 1.25rem;
}

.happymenu-hub .happymenu-hub__group-title {
	color: #6b7280;
	font-family: inherit;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

/* Explore page cities */

.happymenu-hub__cities {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.happymenu-hub__city {
	border: 1px solid #000;
	border-top: 0.4rem solid #00af74;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 1.25rem 1.5rem 1.5rem;
}

.happymenu-hub__city-link,
.happymenu-hub__city-link:visited {
	color: #000 !important;
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
}

.happymenu-hub__city-name {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.2;
}

.happymenu-hub__city-link:hover .happymenu-hub__city-name {
	color: #00af74;
}

.happymenu-hub__city-count {
	color: #6b7280;
	font-size: 1.3rem;
}

/* Loved dishes on hubs link to their restaurant. */

.happymenu-discovery-loved__restaurant,
.happymenu-discovery-loved__restaurant:visited {
	color: #6b7280 !important;
	font-size: 1.3rem;
	text-decoration: none !important;
}

.happymenu-discovery-loved__restaurant:hover {
	color: #00af74 !important;
}

/* Filters */

.happymenu-hub__filters {
	align-items: flex-end;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin: 0 0 2rem;
	padding: 1.25rem 0;
}

.happymenu-hub__field {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.happymenu-hub__field > span,
.happymenu-hub__field legend {
	color: #6b7280;
	float: left;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 0.35rem;
	padding: 0;
	text-transform: uppercase;
	width: 100%;
}

.happymenu-hub__field select {
	background: #fff;
	border: 1px solid #000;
	border-radius: 0;
	font-family: inherit;
	font-size: 1.35rem;
	min-height: 3.6rem;
	padding: 0.4rem 0.6rem;
}

.happymenu-hub__field--price,
.happymenu-hub__field--features {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.happymenu-hub__toggle {
	cursor: pointer;
	display: inline-flex;
	margin: 0;
}

.happymenu-hub__toggle input {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.happymenu-hub__toggle span {
	align-items: center;
	border: 1px solid #000;
	display: inline-flex;
	font-size: 1.3rem;
	font-weight: 700;
	min-height: 3.6rem;
	padding: 0.4rem 0.9rem;
}

.happymenu-hub__toggle input:checked + span {
	background: #00af74;
	border-color: #00af74;
	color: #fff;
}

.happymenu-hub__toggle input:focus-visible + span {
	outline: 2px solid #00af74;
	outline-offset: 2px;
}

.happymenu-hub__filter-actions {
	align-items: center;
	display: flex;
	gap: 1rem;
	font-size: 1.3rem;
}

/* With JavaScript the form submits on change, so the button is redundant. */
.happymenu-hub__filters.is-enhanced .happymenu-hub__filter-actions button {
	display: none;
}

/* Results */

.happymenu-hub .happymenu-hub__grid {
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.happymenu-discovery-card__known {
	color: #00af74;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
}

.happymenu-hub__pagination {
	align-items: center;
	display: flex;
	font-size: 1.4rem;
	gap: 1.5rem;
	justify-content: center;
	margin-top: 3rem;
}

.happymenu-hub__pagination a,
.happymenu-hub__pagination a:visited {
	border: 1px solid #000;
	color: #000 !important;
	padding: 0.6rem 1.2rem;
	text-decoration: none !important;
}

.happymenu-hub__pagination a:hover {
	background: #000;
	color: #fff !important;
}

.happymenu-hub__empty {
	font-size: 1.5rem;
}

@media (max-width: 1024px) {
	.happymenu-hub .happymenu-hub__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.happymenu-hub .happymenu-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Two dropdowns per row; price, features and actions span both columns. */
	.happymenu-hub__filters {
		display: grid;
		gap: 1rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.happymenu-hub__field--price,
	.happymenu-hub__field--features,
	.happymenu-hub__filter-actions {
		grid-column: 1 / -1;
	}

	.happymenu-hub__field select {
		width: 100%;
	}
}

/* Dish price pages */

.happymenu-dish__stats {
	border: 1px solid #000;
	border-top: 0.4rem solid #00af74;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 3rem;
}

.happymenu-dish__stat {
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	padding: 1rem 1.25rem;
}

.happymenu-dish__stat:first-child {
	border-left: 0;
}

.happymenu-dish__stat dt {
	color: #6b7280;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.happymenu-dish__stat dd {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.happymenu-dish__table-wrap {
	overflow-x: auto;
}

.happymenu-hub .happymenu-dish__table {
	border-collapse: collapse;
	border-top: 2px solid #000;
	font-size: 1.45rem;
	margin: 0;
	width: 100%;
}

.happymenu-hub .happymenu-dish__table th,
.happymenu-hub .happymenu-dish__table td {
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	padding: 1rem 1.25rem;
	text-align: left;
	vertical-align: baseline;
}

.happymenu-hub .happymenu-dish__table thead th {
	color: #6b7280;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.happymenu-hub .happymenu-dish__table tbody th {
	font-weight: 700;
}

.happymenu-hub .happymenu-dish__table a,
.happymenu-hub .happymenu-dish__table a:visited {
	color: #000 !important;
	text-decoration: none !important;
}

.happymenu-hub .happymenu-dish__table a:hover {
	color: #00af74 !important;
}

.happymenu-hub .happymenu-dish__table .happymenu-dish__num {
	text-align: right;
	white-space: nowrap;
}

.happymenu-hub .happymenu-dish__table tbody tr:nth-child(even) {
	background: #f7f8f7;
}

.happymenu-dish__area {
	color: #6b7280;
	display: block;
	font-size: 1.2rem;
	font-weight: 400;
}

.happymenu-dish__item {
	color: #374151;
}

.happymenu-dish__cards {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.happymenu-dish__card {
	list-style: none;
	margin: 0;
}

.happymenu-dish__card-link,
.happymenu-dish__card-link:visited {
	border: 1px solid #000;
	color: #000 !important;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	height: 100%;
	padding: 1rem 1.15rem;
	text-decoration: none !important;
}

.happymenu-dish__card-link:hover {
	border-color: #00af74;
}

.happymenu-dish__card-name {
	font-size: 1.6rem;
	font-weight: 800;
}

.happymenu-dish__card-price {
	color: #00af74;
	font-size: 2.2rem;
	font-weight: 800;
}

.happymenu-dish__card-count {
	color: #6b7280;
	font-size: 1.2rem;
}

/* Restaurant tiles for each city on a dish page: two rows of five. */

.happymenu-hub .happymenu-dish__cards--places {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.happymenu-dish__cards--places .happymenu-dish__card-name {
	font-size: 1.45rem;
	line-height: 1.3;
}

.happymenu-dish__cards--places .happymenu-dish__card-price {
	font-size: 1.9rem;
}

.happymenu-dish__cards--places .happymenu-dish__card-count {
	line-height: 1.35;
}

@media (max-width: 1024px) {
	.happymenu-hub .happymenu-dish__cards--places {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.happymenu-dish__method {
	color: #6b7280;
	font-size: 1.3rem;
	max-width: 70rem;
}

@media (max-width: 700px) {
	.happymenu-dish__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.happymenu-dish__stat:nth-child(3) {
		border-left: 0;
	}

	.happymenu-dish__stat:nth-child(n+3) {
		border-top: 1px solid rgba(0, 0, 0, 0.12);
	}

	.happymenu-dish__stat dd {
		font-size: 1.7rem;
	}

	.happymenu-hub .happymenu-dish__table {
		font-size: 1.35rem;
	}

	.happymenu-hub .happymenu-dish__table th,
	.happymenu-hub .happymenu-dish__table td {
		padding: 0.8rem 0.6rem;
	}

	.happymenu-hub .happymenu-dish__cards--places {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Six tiles per city on phones; "See all" has the rest. */
	.happymenu-dish__cards--places .happymenu-dish__card:nth-child(n+7) {
		display: none;
	}

	.happymenu-hub .happymenu-dish__table thead th {
		font-size: 0.95rem;
		letter-spacing: 0.04em;
	}

	/* The menu item name is the least useful column on a phone. */
	.happymenu-hub .happymenu-dish__table--menus .happymenu-dish__item {
		display: none;
	}
}
