/* ============================================================
   门店查询 - PC 端独立样式（新增文件，不修改任何现有样式文件）
   复用现有前台配色体系，类名统一 store- 前缀，避免与现有类冲突
   ============================================================ */

/* 主体容器（水平居中） */
.store-section { padding: 0px 0 40px; }
.store-wrap { max-width: 1200px; margin: 0 auto; }

/* ===== 底部 footer：与列表/详情页保持一致（悬浮固定页脚） =====
   .list-footer 的黑色背景（#202123）作为文档流底部的占位块，
   .list-footer .wrap 由 list.min.css/list.js 控制：
   滚动超过 500px 后 position:fixed 悬浮在视口底部，与其他页面行为一致。
   （历史版本曾用 absolute !important 把 wrap 锚回文档流，
    导致页脚只在滚动到底部时才突然出现，与其他页面不一致，已恢复。） */

/* ===== 搜索与筛选栏 ===== */
.store-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8e2d9;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 22px;
}
.store-search { display: flex; flex: 1; min-width: 300px; max-width: 520px; }
.store-search-input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd6c8;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #faf8f4;
    transition: border-color .2s;
}
.store-search-input:focus { border-color: #9f3424; background: #fff; }
.store-search-btn {
    width: 88px;
    height: 40px;
    border: 1px solid #9f3424;
    border-radius: 0 4px 4px 0;
    background: #9f3424;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: opacity .2s;
}
.store-search-btn:hover { opacity: .88; }

.store-selects { display: flex; gap: 12px; }
.store-select {
    height: 40px;
    min-width: 130px;
    padding: 0 30px 0 12px;
    border: 1px solid #ddd6c8;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #faf8f4 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}
.store-select:hover { border-color: #9f3424; }

/* ===== 列表 + 地图 布局 ===== */
.store-layout { display: flex; gap: 22px; align-items: stretch; }

.store-list-box {
    flex: 0 0 430px;
    background: #fff;
    border: 1px solid #e8e2d9;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.store-list-head {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #3d3327;
    border-bottom: 1px solid #eee8dd;
    background: #fbf9f5;
}
.store-total { font-size: 13px; color: #999; font-weight: 400; margin-left: 6px; }

.store-list { flex: 1; min-height: 580px; max-height: 740px; overflow-y: auto; }
.store-list::-webkit-scrollbar { width: 5px; }
.store-list::-webkit-scrollbar-thumb { background: #ddd6c8; border-radius: 4px; }

/* 门店卡片 */
.store-item {
    padding: 15px 18px;
    border-bottom: 1px solid #f2ede3;
    cursor: pointer;
    transition: background .15s;
}
.store-item:hover { background: #fbf7f0; }
.store-item.active { background: #f7f0e6; }
.store-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #3d3327;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.store-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}
.store-badge.region { background: #efe6d8; color: #8a5a2b; }
.store-badge.category { background: #f3e0dc; color: #9f3424; }
.store-item-addr { font-size: 13px; color: #777; line-height: 1.5; margin-bottom: 4px; }
.store-item-phone { font-size: 13px; color: #555; margin-bottom: 6px; }
.store-item-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.store-tag {
    padding: 0 8px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 3px;
    background: #f5f1e9;
    color: #8b7c63;
    border: 1px solid #e7dfd0;
}
.store-empty { padding: 60px 20px; text-align: center; color: #999; font-size: 14px; }

/* 分页 */
.store-pagination {
    padding: 12px 16px;
    border-top: 1px solid #eee8dd;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.store-pagination a {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    padding: 0 8px;
    text-align: center;
    border: 1px solid #ddd6c8;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: all .15s;
}
.store-pagination a:hover { border-color: #9f3424; color: #9f3424; }
.store-pagination a.cur {
    background: #9f3424;
    border-color: #9f3424;
    color: #fff;
    cursor: default;
}

/* 地图 */
.store-map-box { flex: 1; min-width: 0; border: 1px solid #e8e2d9; border-radius: 6px; overflow: hidden; }
.store-map { width: 100%; height: 100%; min-height: 580px; }
.store-map-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #faf8f4;
    padding: 40px;
    text-align: center;
}

/* 高德地图信息窗 */
.store-info-win { padding: 4px 2px; min-width: 180px; max-width: 260px; }
.store-info-win h4 { font-size: 14px; color: #3d3327; margin-bottom: 4px; }
.store-info-win p { font-size: 12px; color: #777; line-height: 1.6; margin: 0; }
.store-info-win .tel { color: #9f3424; }

/* 响应式：窄屏时列表与地图上下排列 */
@media (max-width: 900px) {
    .store-layout { flex-direction: column; }
    .store-list-box { flex: none; width: 100%; }
    .store-list { max-height: 340px; }
    .store-map-box { width: 100%; }
}

/* ===== 详情页风格标题区（样式与详情页 .title-box 一致，scoped 到门店页） ===== */
.store-title-box {
    display: flex;
    align-items: center;
    padding: 26px 0 34px;
    border-bottom: 1px solid #9f3424;
    position: relative;
    margin-bottom: 22px;
}
.store-title-box .time-box {
    box-sizing: border-box;
    width: 45px;
    height: 45px;
    line-height: 20px;
    padding-top: 2.5px;
    background: #9f3424;
    text-align: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.store-title-box .title-text {
    box-sizing: border-box;
    flex: 1;
    padding: 0 20px 0 10px;
}
.store-title-box .title-text .small-text { font-size: 14px; color: #c89402; }
.store-title-box .title-text h2 { font-size: 24px; font-weight: normal; color: #000; }
/* 字号切换（与详情页内联样式一致） */
.font-switch { display: flex; align-items: center; gap: 4px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.fs-btn { display: inline-block; padding: 2px 8px; border: 1px solid #d0c8b8; border-radius: 2px; font-size: 12px; color: #666; cursor: pointer; background: #fff; line-height: 1.6; user-select: none; }
.fs-btn:hover { border-color: #c89400; color: #c89400; }
.fs-btn.active { background: #9f3424; color: #fff; border-color: #9f3424; }
