.main_shop{
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #cbf6f8, #e2fdff);
    box-sizing: border-box;
}
.header_top_search {
    width: 100%;
    padding: 10px 15px;
}
/* === 搜索框容器：flex横向排列 === */
.header_top_search .layui-form {
    display: flex;
    align-items: center;
    width: 100%;
}

/* ★ 放大镜按钮：透明背景 + 左侧定位 */
.header_top_search .search-icon-btn {
    height: 38px;
    width: 38px;
    padding: 0;
    margin-right: -20px;
    background: #fbfefe;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 17px 0 0 17px;
}

/* 放大镜图标样式 */
.header_top_search .search-icon-btn .layui-icon {
    font-size: 20px;
    color: #2ca2ad;              /* 图标颜色，按需调整 */
    line-height: 1;
}

/* ★ Input框：左侧圆角（因为按钮在左边了） */
.header_top_search .layui-input {
    flex: 1;
    height: 38px;
    line-height: 38px;
    font-size: 15px;
    border-radius: 0 17px 17px 0;
    border: none;
    padding-left: 28px;          /* ★ 给放大镜图标留出空间 */
    background: rgba(255, 255, 255, 0.92);
}

/* ===== 商铺列表 ===== */
.list_shop {
    width: 100%;
    padding: 0 15px 100px 15px;
    box-sizing: border-box;
}

.list_shop_ul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.list_shop_li {
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #fff, #e3fdff);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-sizing: border-box;
        /*box-shadow: 0 2px 8px rgba(28, 165, 173, 0.08);*/
    border: 2px solid #fff;
}

.list_shop_li .shop_img {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
    display: block;
}

.list_shop_li .shop_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.list_shop_li .shop_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    padding: 2px 0;
    text-decoration: none;
    color: inherit;
}

.list_shop_li .shop_name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list_shop_li .shop_addr {
    font-size: 12px;
    color: #666;
    margin: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list_shop_li .shop_rate {
    display: flex;
    align-items: center;
}

.list_shop_li .shop_rate .layui-rate {
    padding: 0;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.list_shop_li .layui-rate li {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.list_shop_li .layui-rate li i.layui-icon{
    font-size: 14px;
    line-height: 1;
}
.list_shop_li .shop_rate .rate_num {
    font-size: 14px;
    line-height: 1;
    color: #666;
    margin-left: 6px;
}

.list_shop_li .shop_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    flex-shrink: 0;
    margin-left: 8px;
    padding: 2px 0;
}

.list_shop_li .shop_distance {
    font-size: 14px;
    color: #666666;
    margin: 0;
    display: flex;
    align-items: center;
}

.list_shop_li .shop_distance .layui-icon {
    font-size: 15px;
    margin-right: 2px;
}

.list_shop_li .shop_consult {
    display: inline-block;
    background: linear-gradient(to right, #2bb3b3, #1ca5ad);
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
}

.list_shop_li .shop_consult:active {
    opacity: 0.85;
}

/* ===== 筛选栏 ===== */
.shop_sx {
    width: 100%;
    padding: 0 15px 12px;
    box-sizing: border-box;
}

.shop_sx_ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    box-sizing: border-box;
}

.shop_sx_li {
    display: flex;
}

.shop_sx_li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    padding: 6px 0;
    border-radius: 18px;
    transition: all 0.2s;
    cursor: pointer;
}

.shop_sx_li a .layui-icon {
    font-size: 14px;
    margin-right: 3px;
}
.shop_filter_btn i{
    font-size: 18px;
    margin-left: 5px;
}
.shop_addr i{
    font-size: 14px;
    color: #94d1d0;
}
.shop_sx_li.on a {
    color: #2bb3b3;
    font-weight: 600;
}

/* 排序上下箭头 */
.shop_sx_li .sx_arrow {
    display: inline-flex;
    flex-direction: column;
    margin-left: 4px;
    line-height: 1;
}

.shop_sx_li .sx_arrow .layui-icon {
    font-size: 8px;
    color: #666;
    line-height: 1;
    margin: 1px 0;
}

.shop_sx_li .sx_arrow .layui-icon.active {
    color: #2bb3b3;
}

.shop_sx_li.on .sx_arrow .layui-icon {
    color: #666;
}

.shop_sx_li.on .sx_arrow .layui-icon.active {
    color: #2bb3b3;
}

/* ===== 筛选抽屉 ===== */
.filter_mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter_mask.show {
    opacity: 1;
    visibility: visible;
}

.filter_panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.filter_panel.show {
    transform: translateX(0);
}

.filter_panel_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.filter_panel_head h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filter_panel_head .filter_close {
    font-size: 22px;
    color: #999;
    cursor: pointer;
}

.filter_panel_body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    box-sizing: border-box;
}

.filter_group {
    margin-bottom: 22px;
}

.filter_group h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

.filter_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter_tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: #666;
    background: #f2f8f8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.filter_tag.on {
    color: #1ca5ad;
    background: rgba(28, 165, 173, 0.1);
    border-color: #1ca5ad;
}

.filter_panel_foot {
    display: flex;
    padding: 12px 15px;
    border-top: 1px solid #f0f0f0;
    gap: 12px;
}

.filter_btn {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filter_btn:active {
    opacity: 0.85;
}

.filter_reset {
    background: #f2f8f8;
    color: #666;
}

.filter_ok {
    background: linear-gradient(to right, #2bb3b3, #1ca5ad);
    color: #fff;
}

/* ===== 页面字体统一为微软雅黑 ===== */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
p, span, a, div, li, ul {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

/* 搜索无结果提示 */
.shop_empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}