/* 优质商家页样式 */

/* 页面顶部banner */
.street-banner {
    background: linear-gradient(135deg, #4a90e2 0%, #356bb0 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
}

.banner-content {
    text-align: center;
    margin-bottom: 40px;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: #3a7bc8;
}

/* 筛选条件区 */
.street-filter {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    padding: 20px 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.filter-label {
    font-weight: 600;
    margin-right: 20px;
    min-width: 90px;
}

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

.filter-options a {
    text-decoration: none;
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.filter-options a:hover {
    background-color: var(--medium-gray);
}

.filter-options a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.filter-options a.all {
    font-weight: 500;
}

/* 推荐商家区域 */
.featured-stores {
    padding: 60px 0 40px;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto 0;
}

.featured-slider {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.store-card.featured {
    position: relative;
}

.store-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.store-banner {
    position: relative;
    height: 160px;
}
.store-banner:after{
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.store-logo {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    overflow: hidden;
    z-index: 9;
}

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

.store-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.store-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.stars i {
    margin-right: 2px;
}

.store-rating span {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-dark);
}

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

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.tag.premium {
    background-color: var(--secondary-color);
}

.tag.overseas {
    background-color: #9c27b0;
}

.tag.physical {
    background-color: #f44336;
}

.tag.designer {
    background-color: var(--accent-color);
}

.store-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 67px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.view-store-btn {
    flex: 1;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-store-btn:hover {
    background-color: #3a7bc8;
}

/* 全部商家区域 */
.store-list {
    padding: 60px 0;
    background-color: white;
}

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

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.page-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.page-link:hover:not(.active) {
    background-color: var(--light-gray);
}

.page-link.next {
    padding: 0 15px;
    gap: 5px;
}

/* 商家入驻引导区域 */
.become-vendor {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 60px;
}

.vendor-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.vendor-info {
    flex: 1;
    min-width: 300px;
}

.vendor-info h2 {
    font-size: 30px;
    color: var(--dark);
    margin-bottom: 20px;
}

.vendor-info p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.vendor-benefits {
    margin-bottom: 30px;
    list-style: none;
}

.vendor-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.vendor-benefits li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 18px;
}

.apply-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #009b8e;
}

.vendor-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.vendor-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

@media (max-width: 991px) {
    .guidance-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
    }
    
    .street-filter {
        padding: 15px 20px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-label {
        margin-bottom: 10px;
    }
    
    .vendor-guidance {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .guidance-content {
        grid-template-columns: 1fr;
    }
    
    .store-actions {
        flex-direction: column;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
    }
} 