/* 店铺推荐列表页面样式 */

/* 页面标题 */
.page-title {
    background-color: var(--light-bg);
    padding: 40px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: var(--light-text);
}

.breadcrumb a {
    color: var(--text-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--light-text);
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* 店铺筛选区域 */
.store-filter {
    padding: 30px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.filter-group h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 6px 15px;
    border-radius: 20px;
    background-color: var(--light-bg);
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.filter-option:hover,
.filter-option.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 精选店铺 */
.featured-stores {
    padding: 60px 0;
    background-color: var(--light-bg);
}

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

/* 店铺列表 */
.store-list {
    padding: 60px 0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 店铺卡片 */
.store-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.store-card:hover {
    transform: translateY(-10px);
}

.store-card.featured {
    border: 2px solid var(--secondary-color);
}

.store-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.store-banner {
    height: 150px;
    overflow: hidden;
}

.store-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.store-card:hover .store-banner img {
    transform: scale(1.05);
}

.store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--white);
    box-shadow: var(--box-shadow);
    position: absolute;
    top: 110px;
    left: 20px;
    overflow: hidden;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    padding: 50px 20px 20px;
}

.store-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.store-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rating {
    color: #f39c12;
    display: flex;
    align-items: center;
}

.rating span {
    margin-left: 5px;
    color: var(--text-color);
    font-weight: 600;
}

.store-type {
    font-size: 14px;
    color: var(--light-text);
    background-color: var(--light-bg);
    padding: 3px 10px;
    border-radius: 4px;
}

.store-desc {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.store-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-size: 12px;
    color: var(--primary-color);
    background-color: rgba(74, 109, 140, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.store-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .store-slider {
        grid-template-columns: 1fr;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-option {
        white-space: nowrap;
    }
} 