body{
    min-height: 100vh;
    overflow: hidden;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0.88rem;
    background: #2D7DF6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.3rem;
    z-index: 100;
}

.header .back{
    width: 0.44rem;
    height: 0.44rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.44rem;
}


.header .back img,
.header .more img {
    height: 100%;
    width: auto;
}

.header .title {
    font-size: 0.34rem;
    color: #FFFFFF;
    font-weight: 500;
}

/* 区域导航 */
.area-nav {
    position: fixed;
    top: 0.88rem;
    left: 0;
    right: 0;
    height: 0.8rem;
    background: #FFFFFF;
    z-index: 100;
    overflow: hidden;
}

.area-scroll {
    display: flex;
    align-items: center;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0.24rem;
}

.area-scroll::-webkit-scrollbar {
    display: none;
}

.area-item {
    flex-shrink: 0;
    height: 0.56rem;
    line-height: 0.56rem;
    padding: 0 0.3rem;
    font-size: 0.28rem;
    color: #666666;
    background: #F5F5F5;
    border-radius: 0.28rem;
    margin-right: 0.2rem;
    text-decoration: none;
}

.area-item.active {
    color: #FFFFFF;
    background: #2D7DF6;
}

/* 地图区域 */
.map-container {
    position: fixed;
    top: .9rem;
    left: 0;
    right: 0;
    bottom: 1.2rem;
    z-index: 1;
}

#map {
    width: 100%;
    height: 100%;
}

/* 定位按钮 */
.location-btn {
    width: 0.88rem;
    height: 0.88rem;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.2rem;
    cursor: pointer;
}

.location-btn img {
    width: 0.4rem;
    height: 0.4rem;
}

/* 底部商家分类导航 */
.category-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.2rem;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -0.02rem 0.1rem rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
}

.category-item img {
    width: 0.5rem;
    height: 0.5rem;
    margin-bottom: 0.08rem;
}

.category-item span {
    font-size: 0.22rem;
}

.category-item.active {
    color: #2D7DF6;
}

/* 商家信息弹窗 */
.shop-info-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.2rem;
    background: #FFFFFF;
    border-radius: 0.24rem 0.24rem 0 0;
    padding: 0.3rem;
    box-shadow: 0 -0.04rem 0.2rem rgba(0, 0, 0, 0.1);
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.shop-info-popup.show {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.shop-info-popup .popup-content {
    display: flex;
    align-items: center;
}

.shop-info-popup .popup-left {
    flex: 1;
    position: relative;
    padding-right: 1.4rem;
}

.shop-info-popup .close-btn {
    position: absolute;
    top: -0.1rem;
    right: 0;
    width: 0.5rem;
    height: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.shop-info-popup .shop-name {
    font-size: 0.32rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.16rem;
}

.shop-info-popup .shop-address {
    font-size: 0.26rem;
    color: #666;
    display: flex;
    align-items: flex-start;
}

.shop-info-popup .shop-address::before {
    content: '';
    width: 0.28rem;
    height: 0.28rem;
    background: url('/templates/images/icon_location.png') no-repeat center;
    background-size: contain;
    margin-right: 0.1rem;
    flex-shrink: 0;
}

.shop-info-popup #shopPhone::before{
    background: url('/templates/images/icon_phone.png') no-repeat center;
    background-size: contain;
}

.shop-info-popup .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 0.6rem;
    background: #2D7DF6;
    color: #FFFFFF;
    font-size: 0.24rem;
    border-radius: 0.3rem;
    text-decoration: none;
    flex-shrink: 0;
}

.gascate-nav{
    position: absolute;
    left: 0;
    top: 0.9rem;
    z-index: 999;
    background-color: #fff;
    padding: .3rem 0;
    width: 100%;
}