/* 优质商家列表页样式 */
.merchants-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 商家横幅 */
.merchants-banner {
    display: flex;
    background: linear-gradient(135deg, #f9f9f9 0%, #e6fff0 100%);
    border-radius: 10px;
    margin: 20px 0 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.banner-content {
    flex: 1;
    padding: 40px;
}

.banner-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.banner-content h1 span {
    color: #00cc44;
}

.banner-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.banner-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #00cc44;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.banner-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.banner-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* 筛选区域 */
.filter-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-section {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-label {
    width: 100px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

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

.filter-option {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-option:hover {
    color: #00cc44;
}

.filter-option.active {
    background-color: #00cc44;
    color: #fff;
}

/* 商家列表 */
.merchants-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.merchant-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.merchant-logo {
    width: 140px;
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.merchant-logo img {
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 10px;
}

.merchant-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}

.merchant-badge.gold {
    background-color: #ffc107;
}

.merchant-badge.silver {
    background-color: #9e9e9e;
}

.merchant-badge.bronze {
    background-color: #cd7f32;
}

.merchant-info {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #eee;
}

.merchant-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.merchant-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.merchant-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    margin-right: 10px;
    color: #ffc107;
}

.merchant-rating span {
    font-weight: 500;
    color: #333;
}

.merchant-desc {
    margin-bottom: 15px;
}

.merchant-desc p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.merchant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
}

.merchant-actions {
    width: 120px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    padding: 8px 0;
    background-color: #00cc44;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #00b33c;
}

.btn-follow {
    padding: 8px 0;
    background-color: #f5f5f5;
    color: #666;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-follow:hover {
    background-color: #e9e9e9;
    color: #00cc44;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination a.active {
    background-color: #00cc44;
    color: #fff;
}

.pagination a.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.pagination a.prev,
.pagination a.next {
    font-size: 12px;
}

/* 商家入驻引导 */
.merchant-cta {
    display: flex;
    background: linear-gradient(135deg, #00cc44 0%, #009933 100%);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content {
    flex: 1;
    padding: 40px;
    color: #fff;
}

.cta-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #fff;
    color: #00cc44;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.cta-image {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cta-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .merchants-list {
        grid-template-columns: 1fr;
    }
    
    .merchants-banner {
        flex-direction: column;
    }
    
    .banner-image {
        width: 100%;
        padding: 20px;
    }
    
    .merchant-cta {
        flex-direction: column;
    }
    
    .cta-image {
        width: 100%;
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    .banner-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .merchant-card {
        flex-direction: column;
    }
    
    .merchant-logo {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .merchant-logo img {
        width: 80px;
        margin-bottom: 0;
    }
    
    .merchant-actions {
        width: 100%;
        flex-direction: row;
    }
    
    .btn-primary, .btn-follow {
        flex: 1;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-label {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .merchants-banner {
        padding: 20px;
    }
    
    .banner-content {
        padding: 20px 0;
    }
    
    .merchant-tags {
        display: none;
    }
} 