/* 门店列表页面样式 */

/* 全国门店地图 */
.store-map-section {
    padding: 300px 0;
    background: linear-gradient(181deg, rgb(255 248 238 / 60%) 0%, rgb(245 154 0 / 24%) 100%), url(/static/images/storelist-2.png) center / cover no-repeat;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.map-title {
    flex: 1;
    min-width: 300px;
}

.map-title h2 {
    font-size: 32px;
    color: #C62828;
    margin-bottom: 15px;
    font-weight: 600;
}

.map-title p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.map-subtitle {
    font-size: 14px;
    color: #999;
}

.map-stats {
    text-align: right;
    min-width: 250px;
}

.map-stats h3 {
    font-size: 18px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.stats-number {
    font-size: 36px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 10px;
}

.stats-date {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.map-content {
    text-align: center;
}

.map-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 页面头部 */
.store-header {
    padding: 80px 0 60px;
    text-align: center;
    background: #f8f5f0;
}

.store-header .sub-title {
    color: #8B4513;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.store-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.store-header .desc {
    font-size: 14px;
    color: #666;
}

/* 搜索和筛选区域 */
.filter-section {
    padding: 30px 0;
    background: #f8f5f0;
    border-bottom: 1px solid #eee;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.btn-search {
    padding: 12px 30px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: #D2691E;
}

.city-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.city-tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    color: #666;
    background: #fff;
    text-decoration: none;
}

.city-tab:hover,
.city-tab.active {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

/* 门店列表 */
.store-list-section {
    padding: 60px 0 80px;
    background: #f8f5f0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.store-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.store-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-image img {
    transform: scale(1.1);
}

.store-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 5px;
}

.store-tag {
    padding: 3px 10px;
    background: #8B4513;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.store-tag.green {
    background: #27ae60;
}

.store-content {
    padding: 25px;
    position: relative;
    z-index: 10;
    background: #fff;
}

.store-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.store-info {
    margin-bottom: 20px;
    padding: 0;
    width: 100%;
}

.store-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    width: 100%;
}

.store-info-item i {
    margin-right: 10px;
    color: #8B4513;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.store-info-item span {
    flex: 1;
    word-wrap: break-word;
}

.store-actions {
    display: flex;
    gap: 10px;
}

.btn-navigate,
.btn-call {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-navigate {
    background: #fff;
    color: #8B4513;
    border: 1px solid #8B4513;
}

.btn-navigate:hover {
    background: #f8f5f0;
}

.btn-call {
    background: #8B4513;
    color: #fff;
    border: 1px solid #8B4513;
}

.btn-call:hover {
    background: #D2691E;
    border-color: #D2691E;
}

/* 分页 */
.pagination-section {
    padding: 40px 0;
    text-align: center;
    background: #f8f5f0;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: block;
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .active span {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .store-map-section {
        padding: 60px 0;
    }
    
    .map-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .map-title {
        text-align: center;
    }
    
    .map-title h2 {
        font-size: 24px;
    }
    
    .map-stats {
        text-align: center;
    }
    
    .stats-number {
        font-size: 28px;
    }
    
    .map-image {
        max-width: 100%;
    }
    
    .store-header {
        padding: 60px 0 40px;
    }
    
    .store-header h1 {
        font-size: 28px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .store-image {
        height: 180px;
    }
    
    .city-filter {
        gap: 8px;
    }
    
    .city-tab {
        padding: 6px 15px;
        font-size: 13px;
    }
}