/* map.html 页面样式 - 找餐厅 */
.page {
	min-height: 100vh;
	padding: 0;
	padding-bottom: 8rem;
}

.map-header {
	display: flex;
	align-items: center;
}

.map-header a {
	color: #1a7bb8;
	font-size: 1.4rem;
}

#map {
	width: 100%;
	height: 40rem;
	overflow: hidden;
	background: #e0e0e0;
}

.top-bar {
	display: flex;
	align-items: center;
	min-height: 5.8rem;
	background-color: #EBF4FF;
}

.top-bar .back {
	padding-left: 1.6rem;
	padding-top: 0.3rem;
}

.back-img {
	width: 1rem;
}

.top-bar .title {
	flex: 1;
	text-align: center;
	font-size: 1.7rem;
	font-weight: 600;
	color: #333;
}

.top-bar .placeholder {
	width: 4rem;
}

.search-bar {
	padding: 1rem 1.4rem;
	background-color: #fff;
	background-color: #EBF4FF;
}

.search-input {
	width: 100%;
	height: 3rem;
	border: 1px solid #1279FE;
	border-radius: 2rem;
	padding: 0 1.6rem;
	font-size: 1.2rem;
	color: #666;
}

.search-input:hover {
	border: 1px solid #1279FE;
}

.search-icon {
	position: absolute;
	width: 1.4rem;
	height: 1.4rem;
	right: 2.6rem;
	top: 1.7rem;
}

.search-bar {
	position: relative;
	background-color: #EBF4FF;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 1.4rem;
}
.search-bar .search-input-wrap {
	flex: 1;
}
.search-bar .search-input {
	width: 100%;
}
.search-bar .search-btn {
	position: absolute;
	width: 1.4rem;
	height: 1.4rem;
	right: 2.6rem;
	top: 1.7rem;
}

.list {
	margin: 1rem 1.4rem 0;
	border-radius: 0.5rem;
	border: 1px solid #e1e1e1;
	padding: 0 1rem;
	background: #fff;
	min-height: 4rem;
}

.rest-item {
	background: #fff;
	border-radius: 1.2rem;
	padding: 1.4rem;
	margin-bottom: 1rem;
	box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, .06);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rest-item .info .name {
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.rest-item .info .phone,
.rest-item .info .dist {
	font-size: 1.2rem;
	color: #666;
}

.rest-item .btn {
	padding: 0.6rem 1.2rem;
	font-size: 1.3rem;
}

.list-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	border-bottom: 1px dashed #999;
	padding: 1.6rem 0;
	background: #fff;
}

.list-cards .list-card:last-child {
	border-bottom: none;
}
.title {
	font-size: 1.4rem;
	color: #3F3F3F;
	line-height: 1.4;
}

.address {
	font-size: 1.2rem;
	color: #333;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex: 1;
}

.address::before {
	content: "";
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	background: url("../img/location1.png") no-repeat center / contain;
}

.info-row {
	display: flex;
	align-items: center;
	gap: 2.4rem;
	font-size: 1.2rem;
	color: #333;
}

.info-item,
.info-item1 {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.info-item::before {
	content: "";
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	background: url("../img/cws.png") no-repeat center / contain;
}

.info-item1::before {
	content: "";
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	background: url("../img/mj.png") no-repeat center / contain;
}

.action-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.8rem;
}

.distance {
	font-size: 1.4rem;
	color: #999;
}

.btn {
	background-color: #1677ff;
	color: #fff;
	border: none;
	border-radius: 0.6rem;
	padding: 0.8rem 1.6rem;
	font-size: 1.4rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.btn::before {
	content: "";
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' fill='%23fff'%3E%3Cpath d='M812.2 273.9c-37.8-37.8-103.8-37.8-141.6 0L368.3 576.2c-19.9 19.9-19.9 52.3 0 72.2s52.3 19.9 72.2 0l292.3-292.3c18.9-18.9 49.4-18.9 68.3 0s18.9 49.4 0 68.3L508.5 740.6c-19.9 19.9-19.9 52.3 0 72.2s52.3 19.9 72.2 0l231.5-231.5c37.8-37.8 37.8-103.8 0-141.6z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.call-btn {
	padding-left: 0.8rem;
	width: 3rem;
	height: 2.2rem;
}

.call-btn img {
	width: 2.2rem;
}

.distance {
	font-size: 1.2rem;
	color: #1279FE;
	display: flex;
	padding-left: 1rem;
}

.gomap-icon {
	width: 1.5rem;
	margin-right: 0.3rem;
}

.gomap {
	padding: 0.5rem 0.8rem;
	border-radius: 0.4rem;
	background-color: #34A8EB;
	font-size: 1.2rem;
	color: #fff;
	display: flex;
	align-items: center;
}

/* 地图选择弹窗 */
.map-choice-mask {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 100;
}

.map-choice-mask.show {
	display: block;
}

.map-choice-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	border-radius: 1.2rem 1.2rem 0 0;
	padding: 0.8rem 0 2.4rem;
	z-index: 101;
}

.map-choice-sheet .choice-item {
	display: block;
	width: 100%;
	padding: 1.4rem 2rem;
	text-align: center;
	font-size: 1.6rem;
	color: #333;
	background: none;
	border: none;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.map-choice-sheet .choice-item:last-of-type {
	border-bottom: none;
}

.map-choice-sheet .choice-cancel {
	margin-top: 0.8rem;
	color: #666;
}

.load-more {
	text-align: center;
	padding: 1.6rem;
	font-size: 1.3rem;
	color: #999;
}

.load-more.loading {
	color: #1279FE;
}

.load-more.no-more {
	color: #ccc;
}
