
/*************************
 Hero
*************************/

.food-hero {
    background: #fff;
	max-width: 640px;
	margin: 50px auto 0;
}

.main {
    margin: 10px auto 80px auto;
}

/*************************
 Slider
*************************/

.food-hero-slider {
    position: relative;
}
.food-hero-swiper {
    width: 100%;
    height: 260px;
}
.food-hero-swiper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
/* 分类 */

.food-hero-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #21b14b;
    color: #fff;
    border-radius: 20px;
    font-size: 15px;
    font-weight: bold;
}
.food-hero-category i {
    margin-right: 6px;
}
/* 分页 */

.food-hero-swiper .swiper-pagination {
    bottom: 12px;
}
.food-hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: .4;
}
.food-hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}
/*************************
 信息
*************************/

.food-hero-info {
    background: #fff;
    padding: 18px 15px 20px 15px;
}
.food-hero-title {
    font-size: 22px;
    font-weight: bold;
}
.food-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.food-hero-tag {
    padding: 8px 14px;
    background: #f3f3f3;
    color: #333;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    font-size: 14px;
}
/*************************
 底部信息
*************************/

.food-hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 22px;
}
/*************************
 Rating
*************************/

.food-hero-rating {
    display: flex;
    align-items: center;
}
.food-hero-stars {
    position: relative;
    width: 95px;
    height: 18px;
    margin-right: 12px;
    transform: translateY(-2px);
}
.food-hero-stars-bg, .food-hero-stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
}
.food-hero-stars-bg {
    color: #999;
}
.food-hero-stars-fill {
    color: #ffc107;
    overflow: hidden;
}
.food-hero-stars i {
    font-size: 16px;
}
.food-hero-score {
    font-size: 18px;
    font-weight: bold;
    color: #ff7a00;
}
/*************************
 City
*************************/
.food-hero-city {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #666;
}
.food-hero-city i {
    margin-right: 6px;
    font-size: 16px;
}
/*************************
 Address
*************************/

.food-hero-address {
    display: flex;
    align-items: flex-start;
    padding: 16px 15px;
    background: #fff;
    color: #555;
    border-top: 1px solid #eee;
    font-size: 15px;
}
.food-hero-address i {
    margin-right: 7px;
    margin-top: 3px;
    font-size: 15px;
    color: #555;
}
.food-hero-address span {
    line-height: 1.6;
}



/*==========================
    通用卡片
==========================*/

.food-detail-card {
    background: #fff;
    padding: 18px 15px 19px 15px;
    margin-bottom: 10px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}
/*==========================
    标题
==========================*/

.food-detail-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.food-detail-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}
.food-detail-card-title i {
    color: #26A44B;
    font-size: 18px;
}
/*==============================
    店铺基本信息
==============================*/

.food-detail-info-card {
    background: #fff;
    padding: 18px 15px 19px 15px;
    margin-bottom: 10px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}
.food-detail-info-header {
    margin-bottom: 22px;
}
.food-detail-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
}
.food-detail-info-title i {
    color: #26A44B;
}
.food-detail-info-list {
    display: flex;
    flex-direction: column;
}
.food-detail-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}
.food-detail-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.food-detail-info-label {
    width: 110px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 15px;
}
.food-detail-info-label i {
    color: #26A44B;
    font-size: 18px;
}
.food-detail-info-value {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}
/*==========================
    店铺介绍
==========================*/

.food-detail-about {
    color: #555;
    font-size: 17px;
    line-height: 2;
	margin-top: -7px;
}
.food-detail-about p {
    margin-bottom: 15px;
}
.food-detail-about p:last-child {
    margin-bottom: 0;
}

/*==========================
    Google地图
==========================*/

.food-detail-map {
    overflow: hidden;
    border: 1px solid #eee;
}
.food-detail-map iframe {
    display: block;
    width: 100%;
    height: 240px;
    border: 0;
}
/*==========================
    地图底部
==========================*/

.food-detail-map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}
.food-detail-map-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 15px;
}
.food-detail-map-address i {
    color: #26A44B;
}

/*==============================
    底部悬浮
==============================*/

.by-food-bottom-contact {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
	box-shadow: 0 -2px 12px rgba(0,0,0,.08);
	z-index: 9999;
}

.by-food-bottom-contact-box {
	display: flex;
	gap: 8px;
}
/* 按钮 */

.by-food-bottom-contact-btn {
	flex: 1;
	height: 50px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	color: #fff;
	font-size: 15px;
	transition: .2s;
}

.by-food-bottom-contact-btn i {
	font-size: 15px;
}

.by-food-bottom-contact-btn:active {
	transform: scale(.97);
}

.by-food-bottom-contact-web {
	background: #1677ff;
}

.by-food-bottom-contact-map {
	background: #20c057;
}

.by-food-bottom-contact-phone {
	background: #ff8a00;
}
