/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 门店搜索区域 */
.store-search-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.search-box-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.search-input-group i {
    color: #e74c3c;
    font-size: 20px;
    margin: 0 15px;
}

.search-input-group input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
}

.search-input-group button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.search-input-group button:hover {
    background: #c0392b;
}

.search-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.filter-btn.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* 门店列表区域 */
.stores-section {
    padding: 60px 0;
}

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

/* 门店卡片 */
.store-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

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

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

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

.store-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.store-badge.premium {
    background: #f39c12;
}

.store-badge.new {
    background: #27ae60;
}

.store-info {
    padding: 25px;
}

.store-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #f39c12;
    font-size: 14px;
}

.store-rating span {
    color: #666;
}

.store-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
}

.detail-item i {
    color: #e74c3c;
    margin-top: 2px;
}

.store-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.store-actions button {
    padding: 12px;
    border: 2px solid #e74c3c;
    background: #fff;
    color: #e74c3c;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.store-actions button:hover {
    background: #e74c3c;
    color: #fff;
}

/* 门店服务说明 */
.store-services {
    padding: 60px 0;
    background: #f8f9fa;
}

.store-services h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 16px;
    }

    .search-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-group button {
        width: 100%;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .store-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .search-filters {
        justify-content: center;
    }

    .filter-btn {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* 加载动画 */
.loading-stores {
    text-align: center;
    padding: 60px 20px;
}

.loading-stores i {
    font-size: 40px;
    color: #e74c3c;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 空状态 */
.empty-stores {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-stores i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-stores h3 {
    color: #666;
    margin-bottom: 10px;
}

.empty-stores button {
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.empty-stores button:hover {
    background: #c0392b;
}